Skip to main content

walk_mut

Function walk_mut 

Source
pub fn walk_mut(nodes: &mut Vec<Node>, f: &mut dyn FnMut(&mut Node))
Expand description

Walk all nodes in the AST, calling f on each with a mutable reference. Useful for implementing transforms.