<< §2.7.(c) Layering | ↑ Table of Contents ↑ |
§2.7.(d) Implicit playedBy specialization
According to §2.1.(d) an implicit sub-role may implicitly specialize an existing playedBy
relation.
This requires the base class to be specified relative to some implicit (OuterTeam.this
) or explicit (OuterTeam.base
) team anchor.
Specializing that team anchor automatically specializes the playedBy declaration, too.
This rule never requires any action from a programmer but only explains the interpretation of a playedBy declaration in
complex situations.
Two advanced examples demonstrating the above are:
|
![]() |
|
![]() |
<< §2.7.(c) Layering | ↑ Table of Contents ↑ |