ParamDef models the definition of a method parameter.
Slots
- defSource
-
Expr? def - hasDefaultSource
-
override Bool hasDefault()Overrides compiler::CParam.hasDefault
- makeSource
-
new make(Location location, CType paramType, Str name, Expr? def := null) - nameSource
-
override Str nameOverrides compiler::CParam.name
- paramTypeSource
-
override CType paramTypeOverrides compiler::CParam.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.