$Revision: 1615 $
$Date: 2002-06-10 21:20:20 -0400 (Mon, 10 Jun 2002) $
methodparam — Parameters to a method
methodparam ::= (modifier
*,type
?, ((parameter
,initializer
?)|funcparams
),modifier
*)
Name | Type | Default | ||||
choice |
| "req" | ||||
rep |
| "norepeat" |
In the syntax summary of a ConstructorSynopsis
,
DestructorSynopsis
, or
MethodSynopsis
,
MethodParam
provides the description of a parameter to the
method. Typically, this includes the data type of the parameter
and its name, but may also include an initial value and other modifiers.
Formatted inline. For a complete description of the processing expectations,
see ClassSynopsis
.
The following elements occur in methodparam:
funcparams
, initializer
, modifier
, parameter
, type
.
Choice
indicates whether the
MethodParam
is required (Req
or Plain
) or
optional (Opt
). Arguments identified as
Plain
are required, but are shown without additional
decoration.
A Rep
value of
Repeat
indicates that the
MethodParam
is reapeatable.