class
compiler::CheckParamDefs
sys::Obj compiler::CompilerSupport compiler::CompilerStep compiler::CheckParamDefs
CheckParamDefs is used to process all the parameter default expressions for all the methods. What we are looking for is default expressions which use default expressions before it which require us to insert a store instruction.
Slots
- makeSource
-
new make(Compiler compiler)
- nameSource
-
Str? name
- runSource
-
override Void run()
Overrides compiler::CompilerStep.run
Doc inherited from compiler::CompilerStep.run
Run the step
- usedSource
-
Bool used
- usedInSuccDefSource
- visitExprSource
-
override Expr visitExpr(Expr expr)
Overrides compiler::Visitor.visitExpr
Doc inherited from compiler::Visitor.visitExpr
Call to visit an expression. Return expr or a new expression if doing a replacement for the expression in the abstract syntax tree.
- visitMethodDefSource
-
override Void visitMethodDef(MethodDef m)
Overrides compiler::Visitor.visitMethodDef
Doc inherited from compiler::Visitor.visitMethodDef
Callback when visiting a method.