Liking cljdoc? Tell your friends :D

std.lang.base.emit-preprocess


*macro-form*clj


*macro-grammar*clj


*macro-opts*clj


*macro-skip-deps*clj


*macro-splice*clj


find-nativesclj

(find-natives entry mopts)

get-fragmentclj

(get-fragment sym modules mopts)

gets the fragment given a symbol and modules

gets the fragment given a symbol and modules
raw docstring

macro-formclj

(macro-form)

gets the current macro form

gets the current macro form
raw docstring

macro-grammarclj

(macro-grammar)

gets the current grammar

gets the current grammar
raw docstring

macro-optsclj

(macro-opts)

gets current macro-opts

gets current macro-opts
raw docstring

process-inline-assignmentclj

(process-inline-assignment form modules mopts & [unwrapped])

prepares the form for inline assignment

prepares the form for inline assignment
raw docstring

process-namespaced-resolveclj

(process-namespaced-resolve sym modules {:keys [module entry] :as mopts})

resolves symbol in current namespace

resolves symbol in current namespace
raw docstring

process-namespaced-symbolclj

(process-namespaced-symbol sym
                           modules
                           {:keys [module entry] :as mopts}
                           deps
                           deps-fragment
                           walk-fn)

process namespaced symbols

process namespaced symbols
raw docstring

process-standard-symbolclj

(process-standard-symbol sym mopts deps-native)

to-inputclj

(to-input raw)

converts a form to input (extracting deref forms)

converts a form to input (extracting deref forms)
raw docstring

to-input-formclj

(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))
raw docstring

to-resolveclj

(to-resolve input grammar modules mopts)

resolves only the code symbols (no macroexpansion)

resolves only the code symbols (no macroexpansion)
raw docstring

to-stagingclj

(to-staging input grammar modules mopts)

converts the stage

converts the stage
raw docstring

to-staging-formclj

(to-staging-form form grammar modules mopts deps-fragment walk-fn)

different staging forms

different staging forms
raw docstring

with:macro-optscljmacro

(with:macro-opts [mopts] & body)

bind macro opts

bind macro opts
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close