cljs.js
*
A
Analyze ClojureScript source. The compiler state will be populated with the results of analyzes. The parameters: state ...
function([state source cb] [state source name cb] [state source name opts cb])
- function
([bound-vars source name opts cb])
- function
([bound-vars ana-env lib deps cb] [bound-vars ana-env lib deps opts cb])
Analyze ClojureScript source. The compiler state will be populated with the results of analyzes. The parameters: state ...
function([state source cb] [state source name cb] [state source name opts cb])
- function
([state name source sb sm-data {:keys [output-dir asset-path], :as opts}])
- function
([x])
C
Compile ClojureScript source into JavaScript. The parameters: state (atom) the compiler state source (string) the ...
function([state source cb] [state source name cb] [state source name opts cb])
- function
([bound-vars source name opts cb])
Compile ClojureScript source into JavaScript. The parameters: state (atom) the compiler state source (string) the ...
function([state source cb] [state source name cb] [state source name opts cb])
E
Construct an empty compiler state. Required to invoke analyze, compile, eval and eval-str.
function([] [init])
Evaluate a single ClojureScript form. The parameters: state (atom) the compiler state form (s-expr) the ClojureScr...
function([state form cb] [state form opts cb])
- function
([bound-vars form opts cb])
Evalute ClojureScript source given as a string. The parameters: state (atom) the compiler state source (string) th...
function([state source cb] [state source name cb] [state source name opts cb])
- function
([bound-vars source name opts cb])
F
- function
([file])
J
A default JavaScript evaluation function.
function([{:keys [source], :as resource}])
L
- function
([state ns cache])
- function
([bound-vars ana-env lib deps cb] [bound-vars ana-env lib deps opts cb])
- function
([bound-vars k macros reload reloads opts cb])
- function
([state ns sm-json])
N
Given a namespace as a symbol return the relative path sans extension
function([ns-sym])
- function
([bound-vars ana-env ast opts cb] [load bound-vars ana-env {:keys [op], :as ast} opts cb])
P
- function
([s pre])
R
- function
([name cb] [name opts cb] [bound-vars name opts cb] [bound-vars name reload opts cb])
S
- function
([])
V
- function
([x])
- function
([x])
W
- macro
([state & body])
- function
([ex])