Where we preprocess the inheritance and mixin components of the templates.
These are presumed to be static and we only aggregate them on the first
template render. The compile-time tag parsing routines happen on a flat string
composed from the result of extends
inheritance and include
mixins.
Where we preprocess the inheritance and mixin components of the templates. These are presumed to be static and we only aggregate them on the first template render. The compile-time tag parsing routines happen on a flat string composed from the result of `extends` inheritance and `include` mixins.
(add-default identifier default)
(add-defaults-to-expression-tag tag-str defaults)
(add-defaults-to-variable-tag tag-str defaults)
(consume-block rdr & [buf blocks omit-close-tag?])
(get-parent tag-str)
(get-tag-params tag-id block-str)
(get-template-path template)
(parse-defaults defaults)
(preprocess-template template & [blocks defaults])
(process-block rdr buf block-tag blocks)
(read-block rdr block-tag blocks)
(read-template template blocks defaults)
(rewrite-super block parent-content)
(split-include-tag tag-str)
(string->reader string)
(to-expression-string tag-name args defaults)
(trim-expression-tag string)
(trim-regex string & regexes)
(trim-variable-tag string)
(try-add-default identifier defaults)
(wrap-in-expression-tag string)
(wrap-in-variable-tag string)
(write-tag? buf super-tag? existing-block blocks-to-close omit-close-tag?)
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 |