Liking cljdoc? Tell your friends :D

clojure.data.zip

System for filtering trees and nodes generated by zip.clj in general, and xml trees in particular.

System for filtering trees and nodes generated by zip.clj in
general, and xml trees in particular.
raw docstring

ancestorsclj/s

(ancestors loc)

Returns a lazy sequence of all ancestors of location loc, starting with loc and proceeding to loc's parent node and on through to the root of the tree.

Returns a lazy sequence of all ancestors of location loc, starting
with loc and proceeding to loc's parent node and on through to the
root of the tree.
source (clj)source (cljs)raw docstring

autoclj/s

(auto v x)
source (clj)source (cljs)

auto?clj/s

(auto? x)
source (clj)source (cljs)

childrenclj/s

(children loc)

Returns a lazy sequence of all immediate children of location loc, left-to-right.

Returns a lazy sequence of all immediate children of location loc,
left-to-right.
source (clj)source (cljs)raw docstring

children-autoclj/s

(children-auto loc)

Returns a lazy sequence of all immediate children of location loc, left-to-right, marked so that a following tag= predicate will auto-descend.

Returns a lazy sequence of all immediate children of location loc,
left-to-right, marked so that a following tag= predicate will auto-descend.
source (clj)source (cljs)raw docstring

descendantsclj/s

(descendants loc)

Returns a lazy sequence of all descendants of location loc, in depth-first order, left-to-right, starting with loc.

Returns a lazy sequence of all descendants of location loc, in
depth-first order, left-to-right, starting with loc.
source (clj)source (cljs)raw docstring

left-locsclj/s

(left-locs loc)

Returns a lazy sequence of locations to the left of loc, starting with loc.

Returns a lazy sequence of locations to the left of loc, starting with loc.
source (clj)source (cljs)raw docstring

leftmost?clj/s

(leftmost? loc)

Returns true if there are no more nodes to the left of location loc.

Returns true if there are no more nodes to the left of location loc.
source (clj)source (cljs)raw docstring

mapcat-chainclj/s

(mapcat-chain loc preds mkpred)
source (clj)source (cljs)

right-locsclj/s

(right-locs loc)

Returns a lazy sequence of locations to the right of loc, starting with loc.

Returns a lazy sequence of locations to the right of loc, starting with loc.
source (clj)source (cljs)raw docstring

rightmost?clj/s

(rightmost? loc)

Returns true if there are no more nodes to the right of location loc.

Returns true if there are no more nodes to the right of location loc.
source (clj)source (cljs)raw 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