Liking cljdoc? Tell your friends :D

stencil.ast


ast-zipclj

(ast-zip root)

Returns a zipper for ASTZippers, given a root ASTZipper.

Returns a zipper for ASTZippers, given a root ASTZipper.
sourceraw docstring

ASTNodecljprotocol

renderclj

(render this sb context-stack)

Given a StringBuilder and the current context-stack, render this node to the result string in the StringBuilder.

Given a StringBuilder and the current context-stack, render this node to
the result string in the StringBuilder.
source

ASTZippercljprotocol

branch?clj

(branch? this)

Returns true if this node can possibly have children, whether it currently does or not.

Returns true if this node can possibly have children,
whether it currently does or not.

childrenclj

(children this)

When called on a branch node, returns its children.

When called on a branch node, returns its children.

make-nodeclj

(make-node this children)

Given a node (potentially with existing children) and a seq of children that should totally replace the existing children, make the new node.

Given a node (potentially with existing children)
and a seq of children that should totally replace
the existing children, make the new node.
source

escaped-variableclj

(escaped-variable name)
source

inverted-sectionclj

(inverted-section name attrs contents)
source

partialclj

(partial name padding)
source

sectionclj

(section name attrs contents)
source

unescaped-variableclj

(unescaped-variable name)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close