for_each_expr

Function for_each_expr 

Source
pub fn for_each_expr<F>(node: &impl Node, f: F)
where F: FnMut(&Expr),
Expand description

Calls f for every Expr node reachable from node, in post-order.

This is a convenience wrapper that constructs a Visit implementation internally and walks the full AST rooted at node.