hara.common.emit-template

+code-state-keys+

cached-code-state

added in 4.1

(cached-code-state entry reserved grammar modules & [mopts])

restages a code entry for the current language, using the per-entry cache when available

cached-entry-deps

added in 4.1

(cached-entry-deps {:keys [modules grammar lang]} entry)

restages a code entry and returns its current code dependencies for the book language

code-state-computing?

added in 4.1

(code-state-computing? entry)

returns true if the entry is currently being staged on this thread

create-code-state

added in 4.1

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

hydrates and stages a code entry for the current grammar

entry-reserved

added in 4.1

(entry-reserved grammar entry)

gets the reserved grammar entry for a code entry

materialize-code-entry

added in 4.1

(materialize-code-entry {:keys [grammar modules lang], :as book} entry)(materialize-code-entry {:keys [grammar modules lang], :as _book} entry mopts)

materializes a code entry for the target language using the cached code state