pub trait PlFold {
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, var_def: VarDef) -> Result<VarDef> { ... }
fn fold_type_def(&mut self, ty_def: TypeDef) -> Result<TypeDef> { ... }
fn fold_module_def(&mut self, module_def: ModuleDef) -> Result<ModuleDef> { ... }
fn fold_func_call(&mut self, func_call: FuncCall) -> Result<FuncCall> { ... }
fn fold_transform_call(
&mut self,
transform_call: TransformCall
) -> Result<TransformCall> { ... }
fn fold_func(&mut self, func: Func) -> Result<Func> { ... }
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> { ... }
}