(analyze-dot env target member member+ form opts)(deftest &form &env name & body)Defines a test function with no arguments. Test functions may call other tests, so tests may be composed. If you compose tests, you should also define a function named test-ns-hook; run-tests will call test-ns-hook instead of testing all vars.
Note: Actually, the test body goes in the :test metadata on the var, and the real function (the value of the var) calls test-var on itself.
When cljs.analyzer/load-tests is false, deftest is ignored.
Defines a test function with no arguments. Test functions may call other tests, so tests may be composed. If you compose tests, you should also define a function named test-ns-hook; run-tests will call test-ns-hook instead of testing all vars. Note: Actually, the test body goes in the :test metadata on the var, and the real function (the value of the var) calls test-var on itself. When cljs.analyzer/*load-tests* is false, deftest is ignored.
(emit1 x)(emitln & xs)(emits & xs)(get-tag e)(infer-externs-dot {:keys [form form-meta method field target-tag env prop tag]
:as ast}
{:keys [infer-externs] :as opts})(invokeable-ns? alias env)Returns true if ns is a required namespace and a JavaScript module that might be invokeable as a function.
Returns true if ns is a required namespace and a JavaScript module that might be invokeable as a function.
(is-shadow-shim? ns)(js-module-exists? module)symbols known to be closureJS compliant namespaces
symbols known to be closureJS compliant namespaces
(load-core)(parse-type op env [_ tsym fields pmasks body :as form])(resolve-cljs-var ns sym)(resolve-invokeable-ns alias current-ns env)(resolve-js-var ns sym current-ns)(resolve-ns-var ns sym current-ns)(resolve-var env sym)(resolve-var env sym confirm)Resolve a var. Accepts a side-effecting confirm fn for producing warnings about unresolved vars.
Resolve a var. Accepts a side-effecting confirm fn for producing warnings about unresolved vars.
(shadow-js-access-global current-ns global)(shadow-js-access-property current-ns prop)(shadow-mark-protocol-prop sym)(source-map-inc-col {:keys [gen-col] :as m} n)(source-map-inc-line {:keys [gen-line] :as m})(use-fixtures &form &env type & fns)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |