hara.lang.impl-entry

*cache-force*

dynamic

*cache-none*

dynamic

*extra*

dynamic

+cached-emit-keys+

+cached-keys+

+emit-entry-cached

create-code

added in 4.0

(create-code form meta book)(create-code form meta book mopts)(create-code [op sym & body :as form] meta grammar modules mopts)

creates the code entry

create-code-base

added in 4.0

(create-code-base [op sym & body :as form] meta grammar)

creates the base code entry

create-code-hydrate

added in 4.0

(create-code-hydrate entry reserved grammar modules & [mopts])

hydrates the forms

create-code-raw

added in 4.0

(create-code-raw [op sym & body :as form-raw] reserved meta)

creates a raw entry compatible with submit

create-common

added in 4.0

(create-common {:keys [lang namespace module line time], :or {namespace (env/ns-sym)}, :as meta})

create entry common keys from metadata

create-fragment

added in 4.0

(create-fragment [_ sym value] {return :-, :as meta})

creates a fragment

create-fragment-hydrate

added in 4.0

(create-fragment-hydrate entry grammar modules mopts)

hydrates the forms

create-macro

added in 4.0

(create-macro [_ sym & body] {return :-, :keys [standalone], :as meta})

creates a macro

emit-entry

added in 4.0

(emit-entry grammar entry {:keys [snapshot module emit], :as mopts})

emits a given entry

emit-entry-cached

added in 4.0

(emit-entry-cached {:keys [grammar entry mopts]})

emits using a potentially cached entry

emit-entry-cached-raw

(emit-entry-cached-raw {:keys [grammar entry mopts]})

helper function for hara.lang.impl-entry/emit-entry-cached

emit-entry-label

added in 4.0

(emit-entry-label grammar entry)

emits the entry label

emit-entry-raw

added in 4.0

(emit-entry-raw grammar entry {:keys [emit], :as mopts})

emits using the raw entry

hydrate-form

added in 4.1

(hydrate-form form-input reserved grammar & [mopts])

hydrates a raw input form using the reserved hydrate hook

prepare-code-entry

added in 4.1

(prepare-code-entry entry)

prepares a raw code entry for storage without eager hydration

with:cache-force

macro

added in 4.0

(with:cache-force & body)

forces the cache to update

with:cache-none

macro

added in 4.0

(with:cache-none & body)

skips the cache