(default-grammar & [m])returns the default grammar
(emit/default-grammar) => map?
returns the default grammar (emit/default-grammar) => map?
(emit form grammar namespace mopts)emits form to output string
emits form to output string
(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)"(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))"(prep-form step form grammar book mopts)prepares the form
prepares the form
(prep-options meta)prepares the options for processing
prepares the options for processing
(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)"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 |