Liking cljdoc? Tell your friends :D

puppetlabs.puppetdb.zip


NodeTraversalcljprotocol

-branch?clj

(-branch? x)

Returns true if it's possible for this type to have children

Returns true if it's possible for this type to have children

-childrenclj

(-children x)

Returns the children (if any) of this node

Returns the children (if any) of this node

-make-nodeclj

(-make-node orig-node children)

Creates a new node from the existing orig-node and (potentially new) children

Creates a new node from the existing `orig-node` and (potentially new) children
source

post-order-transformclj

(post-order-transform zipper visitors)

Zips through zipper applying each visitor function in visitors. visitors is a seq of functions that accepts one argument (the node to transform)

Zips through `zipper` applying each visitor function in `visitors`.
`visitors` is a seq of functions that accepts one argument (the node
to transform)
sourceraw docstring

post-order-visitclj

(post-order-visit zipper initial-state visitors)

Does a post-order travsersal of zipper. visitors is a seq of functions that take two args, node and state

Does a post-order travsersal of `zipper`. `visitors` is a seq of
functions that take two args, node and state
sourceraw docstring

pre-order-visitclj

(pre-order-visit zipper initial-state visitors)

Does a pre-order travsersal of zipper. visitors is a seq of functions that take two args, node and state

Does a pre-order travsersal of `zipper`. `visitors` is a seq of
functions that take two args, node and state
sourceraw docstring

transfer-metaclj

(transfer-meta old-node new-node)
source

tree-zipperclj

(tree-zipper node)

Zipper that knows how to walk clojure data structures. Modifications while zipping are replaced with structures of the same time

Zipper that knows how to walk clojure data structures.
Modifications while zipping are replaced with structures of the same
time
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close