Skip to main content

expr_children

Function expr_children 

Source
pub fn expr_children<'w, 'a>(expr: &'w Expr<'a>) -> Vec<&'w Expr<'a>>
Expand description

The expressions an expression evaluates directly — its operands, arguments, elements — in the same exhaustive enumeration the depth gate walks. A closure’s body is not among them: it runs when the closure is called, not when the closure expression is evaluated.