Skip to main content

walk

Function walk 

Source
pub fn walk(
    root: &SyntaxNode,
    visitor: &mut impl Visitor,
    options: &WalkOptions,
) -> WalkResult
Expand description

Walks the tree starting at root with the given visitor and options.

Returns ControlFlow::Break(()) if the visitor requested early termination.