Liking cljdoc? Tell your friends :D

shadow.build.cljs-bridge

things that connect the shadow.cljs world with the cljs world

things that connect the shadow.cljs world with the cljs world
raw docstring

*in-compiler-env*clj


ana-is-cljs-def?clj

(ana-is-cljs-def? fqn)
(ana-is-cljs-def? ns sym)

checked whether a symbol in a given namespace is defined in CLJS (not a macro)

checked whether a symbol in a given namespace is defined in CLJS (not a macro)
raw docstring

check-renames!clj

(check-renames! {:keys [renames rename-macros] :as ns-info})

check-uses!clj

(check-uses! {:keys [env uses use-macros] :as ns-info})

ensure-compiler-envclj

(ensure-compiler-env state)

errorclj

(error env error-type error-data)

get-build-stateclj

(get-build-state)

get-resource-infoclj

(get-resource-info resource-name content reader-features)

nested-valsclj

(nested-vals map)

register-goog-namesclj

(register-goog-names state)

register-ns-aliasesclj

(register-ns-aliases {:keys [ns-aliases str->sym] :as state})

registers all resolved ns-aliases with the CLJS compiler env so it doesn't complain

registers all resolved ns-aliases with the CLJS compiler env so it doesn't complain
raw docstring

swap-compiler-env!clj

(swap-compiler-env! state update-fn & args)

with-compiler-envclj/smacro

(with-compiler-env state & body)

compiler env is a rather big piece of dynamic state so we take it out when needed and put the updated version back when done doesn't carry the atom arround cause the compiler state itself should be persistent thus it should provide safe points

the body should yield the updated compiler state and not touch the compiler env

compiler env is a rather big piece of dynamic state
so we take it out when needed and put the updated version back when done
doesn't carry the atom arround cause the compiler state itself should be persistent
thus it should provide safe points

the body should yield the updated compiler state and not touch the compiler env
raw docstring

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

× close