pub trait PlFold {
Show 14 methods
// Provided methods
fn fold_stmt(&mut self, stmt: Stmt) -> Result<Stmt, Error> { ... }
fn fold_stmts(&mut self, stmts: Vec<Stmt>) -> Result<Vec<Stmt>, Error> { ... }
fn fold_expr(&mut self, expr: Expr) -> Result<Expr, Error> { ... }
fn fold_expr_kind(&mut self, expr_kind: ExprKind) -> Result<ExprKind, Error> { ... }
fn fold_exprs(&mut self, exprs: Vec<Expr>) -> Result<Vec<Expr>, Error> { ... }
fn fold_var_def(&mut self, var_def: VarDef) -> Result<VarDef, Error> { ... }
fn fold_type_def(&mut self, ty_def: TypeDef) -> Result<TypeDef, Error> { ... }
fn fold_module_def(
&mut self,
module_def: ModuleDef
) -> Result<ModuleDef, Error> { ... }
fn fold_func_call(&mut self, func_call: FuncCall) -> Result<FuncCall, Error> { ... }
fn fold_transform_call(
&mut self,
transform_call: TransformCall
) -> Result<TransformCall, Error> { ... }
fn fold_func(&mut self, func: Func) -> Result<Func, Error> { ... }
fn fold_interpolate_item(
&mut self,
sstring_item: InterpolateItem<Expr>
) -> Result<InterpolateItem<Expr>, Error> { ... }
fn fold_type(&mut self, t: Ty) -> Result<Ty, Error> { ... }
fn fold_window(
&mut self,
window: WindowFrame<Box<Expr>>
) -> Result<WindowFrame<Box<Expr>>, Error> { ... }
}