MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / visit_expr_mut

Method visit_expr_mut

src/sql/src/plan/transform_ast.rs:541–546  ·  view source on GitHub ↗
(&mut self, expr: &'ast mut Expr<Aug>)

Source from the content-addressed store, hash-verified

539 }
540
541 fn visit_expr_mut(&mut self, expr: &'ast mut Expr<Aug>) {
542 visit_mut::visit_expr_mut(self, expr);
543 if let Some((_name, new_expr)) = self.rewrite_expr(expr) {
544 *expr = new_expr;
545 }
546 }
547}
548
549/// Removes syntax sugar to simplify the planner.

Callers

nothing calls this directly

Calls 2

rewrite_exprMethod · 0.80
visit_internalMethod · 0.80

Tested by

no test coverage detected