Expand description
Generic owned-tree mutation primitives.
Structs§
- Walk
- Depth-first iterator over list nodes, including a list root.
Functions§
- find_
path - Find a nested sequence of direct child list heads.
- remove_
all_ elements - Remove every direct child list whose head matches
name, preserving order. - remove_
element - Remove and return the first direct child list whose head matches
name. - replace_
element - Replace the first direct child list whose head matches
name. - set_
value - Set
(name value)as a direct child, replacing the first match or appending. - transform_
descendants - Replace every matching descendant without recursing into replacements.
- walk
- Walk all list nodes depth-first.