rtconst class std::Param
sys::Obj std::Param
Param represents one parameter definition of a Func (or Method).
- hasDefault
-
Bool hasDefault()
Return if this parameter has a default value. If true, then callers are not required to specify an argument.
- isImmutable
-
virtual override Bool isImmutable()
- name
-
Str name()
Name of the parameter.
- toImmutable
-
virtual override Obj toImmutable()
- toStr
-
virtual override Str toStr()
Return "$type $name"
- type
-
Type type()
Type of the parameter.