Structs§
- Ancestors
- The chain of a node’s ancestors, root first, as recorded by a walker that descended to that node.
- Children
- Iterator over a node’s direct children, returned by
Node::children. Owns the cursor it walks with. - Children
With - Iterator over a node’s direct children, returned by
Node::children_with. Borrows the caller’s cursor rather than building one, which is the whole of the difference: it yields exactly whatChildrenyields, through the sameChildScan. - Cursor
- An
ASTcursor. - Fold
Cache - The per-depth states of the walk’s memoised folds, for
Ancestors::fold_down(#1597). - Node
- An
ASTnode. - Preorder
- Pre-order iterator over a node and its descendants, returned by
Node::preorder. - Sibling
Cache - The children of each wide node on a walk’s chain, recorded as the
walk pushes them, so that
Ancestors::siblings_afterandAncestors::siblings_beforefind a sibling in a flatERRORwithout a scan from its start (#1584).
Enums§
- Ancestor
Iter - Ancestor iterator returned by
Ancestors::iter, nearest first.