Skip to main content

walk_root

Function walk_root 

Source
pub fn walk_root<V: Visitor>(children: &mut Vec<Node>, v: &mut V)
Expand description

Drive the visitor over a Vec<Node>, honoring every NodeAction variant. Replacements aren’t re-visited but are descended into on a later pass if the visitor returns Keep.