(emit-module-prep module-id {:keys [library lang emit] :as meta})prepares the module for emit
prepares the module for emit
(emit-module-setup module-id {:keys [library lang emit] :as meta})emits the entire module as string
emits the entire module as string
(emit-module-setup-concat {:keys [setup-body native-arr link-arr header-arr
code-arr export-body]
:as raw})joins setup raw into individual blocks
joins setup raw into individual blocks
(emit-module-setup-export-body {:keys [library lang emit] :as meta} prep)creates the setup code for internal links
creates the setup code for internal links
(emit-module-setup-join {:keys [setup-body native-arr link-arr header-arr
code-arr export-body]
:as raw})joins setup raw into the setup code
joins setup raw into the setup code
(emit-module-setup-link-arr {:keys [library lang emit] :as meta} prep)creates the setup code for internal links
creates the setup code for internal links
(emit-module-setup-link-import type
curr-ns
link-ns
links
module
{:keys [root-prefix path-separator]})(emit-module-setup-native-arr {:keys [library lang emit] :as meta} prep)creates the setup code for native imports
creates the setup code for native imports
(emit-module-setup-raw module-id {:keys [library lang emit] :as meta})creates module setup map of array strings
creates module setup map of array strings
(emit-module-teardown module-id {:keys [library lang emit] :as meta})creates the teardown script
creates the teardown script
(emit-module-teardown-concat {:keys [teardown-body code-arr native-arr]
:as raw})joins teardown raw into individual blocks
(-> (emit-module-teardown-raw 'xt.lang.base-lib {:lang :lua}) (emit-module-teardown-concat)) => coll?
joins teardown raw into individual blocks
(-> (emit-module-teardown-raw 'xt.lang.base-lib
{:lang :lua})
(emit-module-teardown-concat))
=> coll?(emit-module-teardown-join {:keys [teardown-body code-arr native-arr] :as raw})joins teardown raw into code
(-> (emit-module-teardown-raw 'xt.lang.base-lib {:lang :lua}) (emit-module-teardown-join)) => string?
joins teardown raw into code
(-> (emit-module-teardown-raw 'xt.lang.base-lib
{:lang :lua})
(emit-module-teardown-join))
=> string?(emit-module-teardown-raw module-id {:keys [library lang emit] :as meta})creates module teardown map of array strings
creates module teardown map of array strings
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 |