const class sys::Param

sys::Obj
  sys::Param

Source

Param represents one parameter definition of a Func (or Method).

hasDefault

Bool hasDefault()

Source

Return if this parameter has a default value. If true, then callers are not required to specify an argument.

name

Str name()

Source

Name of the parameter.

toStr

virtual override Str toStr()

Source

Return "$type $name"

type

Type type()

Source

Type of the parameter.