Skip to main content

walk_name

Function walk_name 

Source
pub fn walk_name<'arena, 'src, V: Visitor<'arena, 'src> + ?Sized>(
    visitor: &mut V,
    name: &Name<'arena, 'src>,
) -> ControlFlow<()>
Expand description

Calls Visitor::visit_name on name.

The default Visitor::visit_name is a leaf — it does nothing and returns Continue(()). Override it if you need to inspect name nodes.