Added in 0.0-2496

all-ns - function
(all-ns state)
Return all namespaces. Analagous to clojure.core/all-ns but
returns symbols identifying namespaces not Namespace instances.

analyze - function
(analyze env form)
(analyze env form name)
(analyze env form name opts)
(analyze state env form name opts)
Given an environment, a map containing {:locals (mapping of names to bindings), :context
  (one of :statement, :expr, :return), :ns (a symbol naming the
  compilation ns)}, and form, returns an expression object (a map
  containing at least :form, :op and :env keys). If expr has any (immediately)
  nested exprs, must have :children [exprs...] entry. This will
  facilitate code walking without knowing the details of the op set.

analyze-file - function
(analyze-file f)
(analyze-file f opts)
(analyze-file state f opts)
Given a, or a string identifying a resource on the
   classpath attempt to analyze it.

   This function side-effects the ambient compilation environment
   `cljs.env/*compiler*` to aggregate analysis information. opts argument is
   compiler options, if :cache-analysis true will cache analysis to
   ":output-dir/some/ns/foo.cljs.cache.edn". This function does not return a
   meaningful value.

default-warning-handler - function
(default-warning-handler warning-type env extra)
The default warning handler.

Outputs the warning messages to *err*.

empty-env - function
Creates an empty analysis environment.

empty-state - function
Creates an empty compilation state Atom.

find-ns - function
(find-ns sym)
(find-ns state sym)
Given a namespace return the corresponding namespace analysis map. Analagous
to clojure.core/find-ns.

forms-seq - function
(forms-seq rdr)
(forms-seq rdr filename)
Seq of Clojure/ClojureScript forms from rdr, a Optionally
  accepts a filename argument which will be used in any emitted errors.

get-js-index - function
(get-js-index state)
Return the currently computed Google Closure js dependency index from the
compiler state.

get-options - function
(get-options state)
Return the compiler options from compiler state.

in-cljs-user - macro
(in-cljs-user env & body)
Binds cljs.analyzer/*cljs-ns* to 'cljs.user and uses the given compilation
environment atom and runs body.

no-warn - macro
(no-warn & body)
Disable analyzer warnings for any analysis executed in body.

ns-interns - function
(ns-interns ns)
(ns-interns state ns)
Given a namespace return all the var analysis maps. Analagous to
clojure.core/ns-interns but returns var analysis maps not vars.

ns-publics - function
(ns-publics ns)
(ns-publics state ns)
Given a namespace return all the public var analysis maps. Analagous to
clojure.core/ns-publics but returns var analysis maps not vars.

ns-resolve - function
(ns-resolve ns sym)
(ns-resolve state ns sym)
Given a namespace and a symbol return the corresponding var analysis map.
Analagous to clojure.core/ns-resolve but returns var analysis map not Var.

parse-ns - function
(parse-ns src)
(parse-ns src opts)
(parse-ns src dest opts)
(parse-ns state src dest opts)
Helper for parsing only the essential namespace information from a
   ClojureScript source file and returning a cljs.closure/IJavaScript compatible
   map _not_ a namespace AST node.

   By default does not load macros or perform any analysis of dependencies. If
   opts parameter provided :analyze-deps and :load-macros keys their values will
   be used for *analyze-deps* and *load-macros* bindings respectively. This
   function does _not_ side-effect the ambient compilation environment unless
   requested via opts where :restore is false.

remove-ns - function
(remove-ns ns)
(remove-ns state ns)
Removes the namespace named by the symbol.

resolve - function
(resolve env sym)
Given an analysis environment resolve a var. Analogous to

warning-enabled? - function
(warning-enabled? warning-type)
Test if the given warning-type is enabled.

with-state - macro
(with-state state body)
Run the body with the given compilation state Atom.