(emit-array array grammar mopts)(emit-array array grammar mopts emit-fn)returns an array of emitted strings
returns an array of emitted strings
(emit-assign raw args grammar mopts)emits a setter expression
emits a setter expression
(emit-between raw args grammar mopts)emits the raw symbol between two elems
emits the raw symbol between two elems
(emit-bi raw args grammar mopts)emits infix with two args
emits infix with two args
(emit-class-static-invoke raw [sym field & args] grammar mopts)creates
creates
(emit-comment _ [tag & more :as form] grammar mopts)emits a comment
emits a comment
(emit-common form grammar mopts)emits a string based on grammar
emits a string based on grammar
(emit-common-loop form grammar mopts)(emit-common-loop form grammar mopts fn-lookup fn-default)emits the raw string
emits the raw string
(emit-free {:keys [sep]} [tag & more :as form] grammar mopts)emits string with multiline support
emits string with multiline support
(emit-free-raw sep args grammar mopts)emits free value
emits free value
(emit-indent _ [tag & more :as form] grammar mopts)emits an indented form
emits an indented form
(emit-index raw args grammar mopts)creates an indexed expression
creates an indexed expression
(emit-index-entry v grammar mopts)classifies the index entry
classifies the index entry
(emit-infix-default raw args default grammar mopts)emits infix with a default value
emits infix with a default value
(emit-infix-if [_ & forms] grammar mopts)emits an infix if string
emits an infix if string
(emit-infix-if-single [_ check then else] grammar mopts)checks for infix in single
(emit-infix-if '(:? true x y) helper/+default+ {}) => "true ? x : y"
checks for infix in single
(emit-infix-if '(:? true x y)
helper/+default+
{})
=> "true ? x : y"(emit-infix-pre raw args grammar mopts)emits infix with a default value
emits infix with a default value
(emit-internal [_ value] grammar mopts)emits string within the form
emits string within the form
(emit-internal-str [_ value] grammar mopts)emits internal string
emits internal string
(emit-invoke _ [sym & args :as form] grammar mopts)general invoke call, incorporating keywords
general invoke call, incorporating keywords
(emit-invoke-args args grammar mopts)produces the string for invoke call
produces the string for invoke call
(emit-invoke-kw-pair [k v] grammar mopts)emits a kw argument pair
emits a kw argument pair
(emit-invoke-layout str-array grammar mopts)layout for invoke blocks
(emit-invoke-layout ["ab\nc" "de\nf"] helper/+default+ {}) => "(ab\nc,de\nf)"
layout for invoke blocks
(emit-invoke-layout ["ab\nc"
"de\nf"]
helper/+default+ {})
=> "(ab\nc,de\nf)"(emit-invoke-raw raw args grammar mopts)invoke call for reserved ops
invoke call for reserved ops
(emit-invoke-static [sym & args] grammar mopts)generates a static call, alternat
generates a static call, alternat
(emit-invoke-typecast form grammar mopts)generates typecast expression
generates typecast expression
(emit-new raw [sym & more :as args] grammar mopts)invokes a constructor
invokes a constructor
(emit-op key
[sym & args :as form]
{:keys [reserved] :as grammar}
mopts
&
[expansion])helper for the emit op
helper for the emit op
(emit-post raw args grammar mopts)emits string after the arg
emits string after the arg
(emit-postfix raw args grammar mopts)emits operator before the arg
emits operator before the arg
(emit-pre raw args grammar mopts)emits string before the arg
emits string before the arg
(emit-prefix raw args grammar mopts)emits operator before the arg
emits operator before the arg
(emit-reserved-value form {:keys [reserved] :as grammar} mopts)emits a reserved value
emits a reserved value
(emit-return raw args grammar mopts)creates a return type statement
creates a return type statement
(emit-return-base raw args grammar mopts)return base type
return base type
(emit-return-do arg grammar mopts)creates a return statement on do block
creates a return statement on `do` block
(emit-squash _ [tag & more] grammar mopts)emits a squashed representation
emits a squashed representation
(emit-symbol sym grammar mopts)emits symbol allowing for custom functions
emits symbol allowing for custom functions
(emit-symbol-classify sym {:keys [lang module entry book snapshot] :as mopts})classify symbol given options
(emit-symbol-classify 't/hello {:module {:alias '{t table}}}) => '[:alias table]
(emit-symbol-classify 't.n/hello {:module {:alias '{t table}}}) => '[:unknown t.n]
classify symbol given options
(emit-symbol-classify 't/hello {:module {:alias '{t table}}})
=> '[:alias table]
(emit-symbol-classify 't.n/hello {:module {:alias '{t table}}})
=> '[:unknown t.n](emit-symbol-standard sym grammar {:keys [lang layout module] :as mopts})emits a standard symbol
(emit-symbol-standard 'print! helper/+default+ {:layout :full}) => "printf"
(emit-symbol-standard 'print! {:token {:symbol {:replace {}} :string {:quote :single}}} {:layout :full}) => "print!"
emits a standard symbol
(emit-symbol-standard 'print! helper/+default+ {:layout :full})
=> "printf"
(emit-symbol-standard 'print!
{:token {:symbol {:replace {}}
:string {:quote :single}}}
{:layout :full})
=> "print!"(emit-token key token grammar mopts)customisable emit function for tokens
customisable emit function for tokens
(emit-unit {:keys [raw default transform] :as props} [_ value] grammar mopts)emits a unit
emits a unit
(emit-with-decorate _ [_ opts form] grammar mopts)customisable emit function for global vars
customisable emit function for global vars
(emit-with-global _ [_ token] grammar mopts)customisable emit function for global vars
customisable emit function for global vars
(emit-with-rand _ [_ & [type]] grammar mopts)injects uuid for testing
injects uuid for testing
(emit-with-uuid _ [_ & [seed0 seed1 :as seeds]] grammar mopts)injects uuid for testing
injects uuid for testing
(emit-wrappable? form grammar)checks if form if wrappable
checks if form if wrappable
(emit-wrapping form grammar mopts)emits a potentially wrapped form
emits a potentially wrapped form
(form-key form {:keys [banned reserved] :as grammar})returns the key associated with the form
returns the key associated with the form
(invoke-kw-parse args)seperates standard and keyword arguments
seperates standard and keyword arguments
(newline-indent)returns a newline with indent
returns a newline with indent
(with-compressed & body)formats without newlines and indents
formats without newlines and indents
(with-indent [& increment] & body)adds indentation levels
adds indentation levels
(with-trace & body)form to control trace option
form to control `trace` option
(with:explode & body)form to control explode option
form to control `explode` option
(wrapped-str inner path grammar)wrapped string using :start and :end keys of grammar
wrapped string using `:start` and `:end` keys of grammar
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 |