pub trait AstFold {
Show 14 methods // Provided methods fn fold_stmt(&mut self, stmt: Stmt) -> Result<Stmt> { ... } fn fold_stmts(&mut self, stmts: Vec<Stmt>) -> Result<Vec<Stmt>> { ... } fn fold_expr(&mut self, expr: Expr) -> Result<Expr> { ... } fn fold_expr_kind(&mut self, expr_kind: ExprKind) -> Result<ExprKind> { ... } fn fold_exprs(&mut self, exprs: Vec<Expr>) -> Result<Vec<Expr>> { ... } fn fold_var_def(&mut self, table: VarDef) -> Result<VarDef> { ... } fn fold_pipeline(&mut self, pipeline: Pipeline) -> Result<Pipeline> { ... } fn fold_func_def(&mut self, function: FuncDef) -> Result<FuncDef> { ... } fn fold_func_call(&mut self, func_call: FuncCall) -> Result<FuncCall> { ... } fn fold_transform_call( &mut self, transform_call: TransformCall ) -> Result<TransformCall> { ... } fn fold_closure(&mut self, closure: Closure) -> Result<Closure> { ... } fn fold_interpolate_item( &mut self, sstring_item: InterpolateItem ) -> Result<InterpolateItem> { ... } fn fold_type(&mut self, t: Ty) -> Result<Ty> { ... } fn fold_window(&mut self, window: WindowFrame) -> Result<WindowFrame> { ... }
}

Provided Methods§

source

fn fold_stmt(&mut self, stmt: Stmt) -> Result<Stmt>

source

fn fold_stmts(&mut self, stmts: Vec<Stmt>) -> Result<Vec<Stmt>>

source

fn fold_expr(&mut self, expr: Expr) -> Result<Expr>

source

fn fold_expr_kind(&mut self, expr_kind: ExprKind) -> Result<ExprKind>

source

fn fold_exprs(&mut self, exprs: Vec<Expr>) -> Result<Vec<Expr>>

source

fn fold_var_def(&mut self, table: VarDef) -> Result<VarDef>

source

fn fold_pipeline(&mut self, pipeline: Pipeline) -> Result<Pipeline>

source

fn fold_func_def(&mut self, function: FuncDef) -> Result<FuncDef>

source

fn fold_func_call(&mut self, func_call: FuncCall) -> Result<FuncCall>

source

fn fold_transform_call( &mut self, transform_call: TransformCall ) -> Result<TransformCall>

source

fn fold_closure(&mut self, closure: Closure) -> Result<Closure>

source

fn fold_interpolate_item( &mut self, sstring_item: InterpolateItem ) -> Result<InterpolateItem>

source

fn fold_type(&mut self, t: Ty) -> Result<Ty>

source

fn fold_window(&mut self, window: WindowFrame) -> Result<WindowFrame>

Implementors§