pub trait AstNodeVisitorExt {
// Required method
fn visit_node(&mut self, kind: &str, depth: usize);
}Expand description
A simple visitor trait for AST nodes.
Required Methods§
Sourcefn visit_node(&mut self, kind: &str, depth: usize)
fn visit_node(&mut self, kind: &str, depth: usize)
Visit a node with the given kind label.