Liking cljdoc? Tell your friends :D

std.lang.model.spec-js


!.jscljmacro

(!.js & body)

*template-fn*clj


+book+clj


+features+clj


+grammar+clj


+init+clj


+template+clj


breakcljmacro


def$.jscljmacro

(def$.js & body)

def.jscljmacro

(def.js & body)

defclass.jscljmacro

(defclass.js & body)

defelem.jscljmacro

(defelem.js & body)

defgen.jscljmacro

(defgen.js & body)

defglobal.jscljmacro

(defglobal.js & body)

defmacro.jscljmacro

(defmacro.js & body)

defn-.jscljmacro

(defn-.js & body)

defn.jscljmacro

(defn.js & body)

defptr.jscljmacro

(defptr.js & body)

defrun.jscljmacro

(defrun.js & body)

deftemp.jscljmacro

(deftemp.js & body)

delcljmacro


emit-htmlclj

(emit-html arr _ mopts)

emits html

emits html
raw docstring

js-defclassclj

(js-defclass [_ sym inherit & body])

creates a defclass function

creates a defclass function
raw docstring

js-mapclj

(js-map m grammar mopts)

js-map-keyclj

(js-map-key key grammar mopts)

emits a map key

emits a map key
raw docstring

js-regexclj

(js-regex re)

outputs the js regex

outputs the js regex
raw docstring

js-setclj

(js-set arr grammar mopts)

emits a js set

emits a js set
raw docstring

js-vectorclj

(js-vector arr grammar mopts)

emits a js vector

emits a js vector
raw docstring

rejectcljmacro


returncljmacro


tabcljmacro


tf-for-arrayclj

(tf-for-array [_ [e arr] & body])

custom for:array code

(tf-for-array '(for:array [e [1 2 3 4 5]] [k v])) => '(for [(var* :let e) :of (% [1 2 3 4 5])] [k v])

(tf-for-array '(for:array [[i e] arr] [k v])) => '(for [(var* :let i := 0) (< i (. arr length)) (:++ i)] (var* :let e (. arr [i])) [k v])

custom for:array code

(tf-for-array '(for:array [e [1 2 3 4 5]]
                           [k v]))
=> '(for [(var* :let e) :of (% [1 2 3 4 5])] [k v])

(tf-for-array '(for:array [[i e] arr]
                          [k v]))
=> '(for [(var* :let i := 0) (< i (. arr length))
          (:++ i)] (var* :let e (. arr [i])) [k v])
raw docstring

tf-for-asyncclj

(tf-for-async [_ [[res err] statement] {:keys [success error finally]}])

for async transform

for async transform
raw docstring

tf-for-iterclj

(tf-for-iter [_ [e it] & body])

custom for:iter code

(tf-for-iter '(for:iter [e iter] e)) => '(for [(var* :let e) :of (% iter)] e)

custom for:iter code

(tf-for-iter '(for:iter [e iter]
                        e))
=> '(for [(var* :let e) :of (% iter)] e)
raw docstring

tf-for-objectclj

(tf-for-object [_ [[k v] m] & body])

custom for:object code

(tf-for-object '(for:object [[k v] {:a 1}] [k v])) => '(for [(var* :let [k v]) :of (Object.entries {:a 1})] [k v])

custom for:object code

(tf-for-object '(for:object [[k v] {:a 1}]
                            [k v]))
=> '(for [(var* :let [k v]) :of (Object.entries {:a 1})] [k v])
raw docstring

tf-for-returnclj

(tf-for-return [_ [[res err] statement] {:keys [success error final]}])

for return transform

for return transform
raw docstring

tf-for-tryclj

(tf-for-try [_ [[res err] statement] {:keys [success error]}])

for try transform

for try transform
raw docstring

tf-var-constclj

(tf-var-const [_ decl & args])

outputs the const keyword

outputs the const keyword
raw docstring

tf-var-letclj

(tf-var-let [_ decl & args])

outputs the let keyword

outputs the let keyword
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close