Fan

 

class

compiler::ParamDef

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

ParamDef models the definition of a method parameter.

Slots

defSource

Expr? def

hasDefaultSource

override Bool hasDefault()

makeSource

new make(Location location, CType paramType, Str name, Expr? def := null)

nameSource

override Str name

paramTypeSource

override CType paramType

printSource

override Void print(AstWriter out)

Overrides compiler::Node.print

Doc inherited from compiler::Node.print

Pretty print this node and it's descendants.

toStrSource

override Str toStr()

Overrides sys::Obj.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.