class compiler::ParamDef

sys::Obj
  compiler::Node
    compiler::ParamDef : compiler::CParam

Source

ParamDef models the definition of a method parameter.

def

Expr? def

Source

hasDefault

virtual override Bool hasDefault()

Source

make

new make(Loc loc, CType paramType, Str name, Expr? def := null)

Source

name

virtual override Str name

Source

paramType

virtual override CType paramType

Source

print

virtual override Void print(AstWriter out)

Source

toStr

virtual override Str toStr()

Source