pub(crate) trait TransformRule: Send + Sync {
// Provided methods
fn visit_statement(&self, _stmt: &mut Statement) -> Result<()> { ... }
fn visit_expr(&self, _expr: &mut Expr) -> ControlFlow<()> { ... }
}
Expand description
Transform rule to transform statement or expr
Provided Methods§
sourcefn visit_expr(&self, _expr: &mut Expr) -> ControlFlow<()>
fn visit_expr(&self, _expr: &mut Expr) -> ControlFlow<()>
Visit an Expr