methodparam

Name

methodparam -- parameter for an object method

Content Model

methodparam ::= modifier*, type?, ((parameter, initializer?) |
funcparams), modifier*

Description

methodparam elements hold parameters for methods in an object oriented language. The parent node is constructorsynopsis, destructorsynopsis, or methodsynopsis.

Attributes

methodparam elements have choice and rep attributes.

choice attributes take one of the following values.

opt

Optional parameter

plain

Plain parameter

required

Required parameter

choice values are implied if not given.

rep attributes take the following values.

norepeat

Parameter may not be repeated

repeat

Parameter may be repeated

rep values are implied if not given.

Formatting Expectations

When the rep element is repeat, follow with an ellipsis, (methodparam ...).