Skip to main content

Module iterators

Module iterators 

Source

Structsยง

FollowingNodeIterator ๐Ÿ”’
PrecedingNodeIterator ๐Ÿ”’
SimpleNodeIterator ๐Ÿ”’
TreeIterator ๐Ÿ”’
UnrootedFollowingFlatTreeNodesTraversal ๐Ÿ”’
A traversal of a [Document]โ€™s flat tree. This is both a pre-order and post-order unrooted traversal. This means that an item is returned both when encountering a node for the first time and when leaving a node. In addition, no garbage collection can happen while iterating, allowing returning unrooted values for performance reasons.
UnrootedFollowingNodeIterator ๐Ÿ”’
UnrootedPrecedingNodeIterator ๐Ÿ”’
UnrootedSimpleNodeIterator ๐Ÿ”’
An efficient SimpleNodeIterator because it skips rooting if there are no GC pauses.
UnrootedTreeIterator ๐Ÿ”’
An efficient TreeIterator because it skips rooting if there are no GC pauses.

Enumsยง

PrePostIteration ๐Ÿ”’
An Item in an traversal that is both pre-order and post-order. Each iteration of the traversal is either an record of entering a node or a leaving a node during the course of traversal.
ShadowIncluding ๐Ÿ”’
Whether a tree traversal should pass shadow tree boundaries.