hara.common.emit-fn

emit-def-type

added in 4.0

(emit-def-type name suffix grammar mopts)

emits the def type

emit-fn

added in 3.0

(emit-fn key [tag & body] grammar mopts)

emits a function template

emit-fn-block

added in 4.0

(emit-fn-block key grammar)

gets the block options for a given grammar

emit-fn-preamble

added in 4.0

(emit-fn-preamble [key name args] grammar mopts)

constructs the function preamble

emit-fn-preamble-args

added in 4.0

(emit-fn-preamble-args key args grammar mopts)

constructs the function preamble args

emit-fn-type

added in 3.0

(emit-fn-type name suffix grammar mopts)

returns the function type

emit-hint-type

added in 4.0

(emit-hint-type type name suffix grammar mopts)

emits the return type

emit-input-default

added in 3.0

(emit-input-default {:keys [force modifiers type symbol value rest], :as arg} assign grammar mopts)

create input arg strings

test-fn-emit

added in 4.0

(test-fn-emit form grammar mopts)

add blocks, fn, var and const to emit

test-fn-loop

added in 4.0

(test-fn-loop form grammar mopts)

add blocks, fn, var and const to emit