(echo acc val)
Writes an (emit) to the compiled code that echoes the plain string but with escaping.
Writes an (emit) to the compiled code that echoes the plain string but with escaping.
(eval acc expr)
Writes an (emit) to the compiled code that outputs the result of evaluating the forms.
Writes an (emit) to the compiled code that outputs the result of evaluating the forms.
(forms acc expr)
Echoes Clojure forms from the template to the compiled code.
Echoes Clojure forms from the template to the compiled code.
Lenient in that this FSM will accept :end-* tokens while already in the end state of :echo.
Lenient in that this FSM will accept :end-* tokens while already in the end state of :echo.
(translate token-stream)
Translates a sequence of tokens into Clojure code that, when evaluated, produces the template output.
Translates a sequence of tokens into Clojure code that, when evaluated, produces the template output.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close