Liking cljdoc? Tell your friends :D

std.lang.base.emit


+option-keys+clj


+steps+clj


+test-grammar+clj


default-grammarclj

(default-grammar & [m])

returns the default grammar

(emit/default-grammar) => map?

returns the default grammar

(emit/default-grammar)
=> map?
raw docstring

emitclj

(emit form grammar namespace mopts)

emits form to output string

emits form to output string
raw docstring

emit-mainclj

(emit-main form grammar mopts)

creates the raw emit with loop

(emit/emit-main '(not (+ 1 2 3)) +grammar+ {}) => "!(1 + 2 + 3)"

creates the raw emit with loop

(emit/emit-main '(not (+ 1 2 3))
                +grammar+
                {})
=> "!(1 + 2 + 3)"
raw docstring

emit-main-loopclj

(emit-main-loop form grammar mopts)

creates the raw emit

(emit/emit-main-loop '(not (+ 1 2 3)) +grammar+ {}) => "!((+ 1 2 3))"

creates the raw emit

(emit/emit-main-loop '(not (+ 1 2 3))
                    +grammar+
                    {})
=> "!((+ 1 2 3))"
raw docstring

prep-formclj

(prep-form step form grammar book mopts)

prepares the form

prepares the form
raw docstring

prep-optionsclj

(prep-options meta)

prepares the options for processing

prepares the options for processing
raw docstring

with:emitcljmacro

(with:emit & body)

binds the top-level emit function to common/emit-fn

(emit/with:emit (common/emit-fn '(not (+ 1 2 3)) +grammar+ {})) => "!(1 + 2 + 3)"

binds the top-level emit function to common/*emit-fn*

(emit/with:emit
 (common/*emit-fn* '(not (+ 1 2 3))
                   +grammar+
                   {}))
=> "!(1 + 2 + 3)"
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