(find-natives entry mopts)(get-fragment sym modules mopts)gets the fragment given a symbol and modules
gets the fragment given a symbol and modules
(process-inline-assignment form modules mopts & [unwrapped])prepares the form for inline assignment
prepares the form for inline assignment
(process-namespaced-resolve sym modules {:keys [module entry] :as mopts})resolves symbol in current namespace
resolves symbol in current namespace
(process-namespaced-symbol sym
modules
{:keys [module entry] :as mopts}
deps
deps-fragment
walk-fn)process namespaced symbols
process namespaced symbols
(process-standard-symbol sym mopts deps-native)(to-input raw)converts a form to input (extracting deref forms)
converts a form to input (extracting deref forms)
(to-input-form [tag input & more :as x])processes a form
(def hello 1)
(to-input-form '(@! (+ 1 2 3))) => '(!:template (+ 1 2 3))
(to-input-form '(-/Class$$new)) => (any '(static-invoke -/Class "new") nil)
(to-input-form '(Class$$new 1 2 3)) => (any '(static-invoke Class "new" 1 2 3) nil)
(to-input-form '@#'hello) => '(!:deref (var std.lang.base.emit-preprocess-test/hello))
(to-input-form '@(+ 1 2 3)) => '(!:eval (+ 1 2 3))
(to-input-form '(@.lua (do 1 2 3))) => '(!:lang {:lang :lua} (do 1 2 3))
processes a form
(def hello 1)
(to-input-form '(@! (+ 1 2 3)))
=> '(!:template (+ 1 2 3))
(to-input-form '(-/Class$$new))
=> (any '(static-invoke -/Class "new")
nil)
(to-input-form '(Class$$new 1 2 3))
=> (any '(static-invoke Class "new" 1 2 3)
nil)
(to-input-form '@#'hello)
=> '(!:deref (var std.lang.base.emit-preprocess-test/hello))
(to-input-form '@(+ 1 2 3))
=> '(!:eval (+ 1 2 3))
(to-input-form '(@.lua (do 1 2 3)))
=> '(!:lang {:lang :lua} (do 1 2 3))(to-resolve input grammar modules mopts)resolves only the code symbols (no macroexpansion)
resolves only the code symbols (no macroexpansion)
(to-staging input grammar modules mopts)converts the stage
converts the stage
(to-staging-form form grammar modules mopts deps-fragment walk-fn)different staging forms
different staging forms
(with:macro-opts [mopts] & body)bind macro opts
bind macro opts
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |