Liking cljdoc? Tell your friends :D

cark.behavior-tree.hiccup

Provides the services for parsing and compiling the hiccup notation to a static tree.

Provides the services for parsing and compiling the hiccup notation to
a static tree.
raw docstring

parseclj/s

(parse hiccup)
(parse hiccup spec)

Parses an hiccup behavior tree, returning the parse tree

Parses an hiccup behavior tree, returning the parse tree
sourceraw docstring

parsed->nodeclj/s

(parsed->node parsed tree)

Compiles a node, setting its meta data and compiled closure in the tree. This returns the node id and the updated tree.

Compiles a node, setting its meta data and compiled closure in the tree.
This returns the node id and the updated tree.
sourceraw docstring

parsed->treeclj/s

(parsed->tree tree parsed)

Compiles a parsed hiccup tree to a tree, setting its root node id

Compiles a parsed hiccup tree to a tree, setting its root node id
sourceraw docstring

parsed-children->treeclj/s

(parsed-children->tree children tree)

Compiles the children hiccup nodes, returning their ids and the updated tree in a pair vector

Compiles the children hiccup nodes, returning their ids and the 
updated tree in a pair vector
sourceraw docstring

prepareclj/s

(prepare hiccup)

Prepares the hiccup tree by removing the nil nodes and splicing the :<> node children into its parent node

Prepares the hiccup tree by removing the nil nodes and splicing the
:<> node children into its parent node
sourceraw docstring

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

× close