Skip to main content

walk_shared

Function walk_shared 

Source
pub fn walk_shared<V: Visitor>(arena: &ExprArena, id: ExprId, visitor: &mut V)
Expand description

Walk the distinct nodes reachable from id in pre-order, visiting each shared subexpression exactly once.