(&self, f: &mut T)
| 127 | } |
| 128 | |
| 129 | fn visit_tree<T>(&self, f: &mut T) -> VisitorAction |
| 130 | where |
| 131 | T: FnMut(&LowLevelILExpression<'func, A, M, SSA, ValueExpr>) -> VisitorAction, |
| 132 | { |
| 133 | // Visit the current expression. |
| 134 | match f(self) { |
| 135 | VisitorAction::Descend => { |
| 136 | // Recursively visit sub expressions. |
| 137 | self.kind().visit_sub_expressions(|e| e.visit_tree(f)) |
| 138 | } |
| 139 | action => action, |
| 140 | } |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | impl<'func, A, M> ExpressionHandler<'func, A, M, NonSSA<LiftedNonSSA>> |