Liking cljdoc? Tell your friends :D

shadow.build.cljs-hacks


analyze-dotcljs

(analyze-dot env target member member+ form opts)
source

conj-to-setcljs

source

deftestcljsmacro

(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.
sourceraw docstring

emit1cljs

(emit1 x)
source

emitlncljs

(emitln & xs)
source

emitscljs

(emits & xs)
source

get-tagcljs

(get-tag e)
source

infer-externs-dotcljs

(infer-externs-dot {:keys [form form-meta method field target-tag env prop tag]
                    :as ast}
                   {:keys [infer-externs] :as opts})
source

invokeable-ns?cljs

(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.
sourceraw docstring

is-shadow-shim?cljs

(is-shadow-shim? ns)
source

js-module-exists?cljs

(js-module-exists? module)
source

known-safe-js-globalscljs

symbols known to be closureJS compliant namespaces

symbols known to be closureJS compliant namespaces
sourceraw docstring

load-corecljs

(load-core)
source

parse-typecljs

(parse-type op env [_ tsym fields pmasks body :as form])
source

resolve-cljs-varcljs

(resolve-cljs-var ns sym)
source

resolve-invokeable-nscljs

(resolve-invokeable-ns alias current-ns env)
source

resolve-js-varcljs

(resolve-js-var ns sym current-ns)
source

resolve-ns-varcljs

(resolve-ns-var ns sym current-ns)
source

resolve-varcljs

(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.
sourceraw docstring

shadow-js-access-globalcljs

(shadow-js-access-global current-ns global)
source

shadow-js-access-propertycljs

(shadow-js-access-property current-ns prop)
source

shadow-mark-protocol-propcljs

(shadow-mark-protocol-prop sym)
source

source-map-inc-colcljs

(source-map-inc-col {:keys [gen-col] :as m} n)
source

source-map-inc-linecljs

(source-map-inc-line {:keys [gen-line] :as m})
source

use-fixturescljsmacro

(use-fixtures &form &env type & fns)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close