<< §3.2.(c) Result mapping | ↑ Table of Contents ↑ | §3.2.(e) Implicit parameter mappings >> |
§3.2.(d) Visible names
Each identifier that appears within the expressions of a parameter mapping must be either:
- a feature visible in the scope of the role instance.
- a parameter of the role method (for parameter mappings).
- the special name
result
(for result mappings). - in a result mapping also the special name
base
can be used in order to refer to the bound base instance (provided the method being bound is not static).
The names of base method arguments (i.e., names after mapping) are only legal in the position given in §3.2.(b).
<< §3.2.(c) Result mapping | ↑ Table of Contents ↑ | §3.2.(e) Implicit parameter mappings >> |