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

Method visit_expr_mut

src/sql-parser/tests/sqlparser_common.rs:50–55  ·  view source on GitHub ↗
(&mut self, expr: &'a mut Expr<Raw>)

Source from the content-addressed store, hash-verified

48
49 impl<'a> VisitMut<'a, Raw> for RemoveParens {
50 fn visit_expr_mut(&mut self, expr: &'a mut Expr<Raw>) {
51 if let Expr::Nested(e) = expr {
52 *expr = (**e).clone();
53 }
54 visit_mut::visit_expr_mut(self, expr);
55 }
56 }
57
58 for (actual, expected) in &[

Callers 1

op_precedenceFunction · 0.45

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected