Fantom

 

class compiler::CheckParamDefs

sys::Obj
  compiler::CompilerSupport
    compiler::CompilerStep
      compiler::CheckParamDefs

Source

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.

make

new make(Compiler compiler)

Source

name

Str? name

Source

run

virtual override Void run()

Source

used

Bool used

Source

usedInSuccDef

ParamDef? usedInSuccDef(ParamDef[] params, Int index)

Source

visitExpr

virtual override Expr visitExpr(Expr expr)

Source

visitMethodDef

virtual override Void visitMethodDef(MethodDef m)

Source