Protected
Readonly
listenersThese listeners will be informed, whenever the resolved state of this TypeReference switched from undefined to an actual type or from an actual type to undefined.
Protected
resolvedProtected
Readonly
selectorProtected
Readonly
servicesOptional
_boundToType: TypeOptional
_boundToType: TypeProtected
resolveResolves the referenced type, if the type is not yet resolved. Note that the resolved type might not be completed yet.
the result of the currently executed resolution
Protected
startProtected
stop
A TypeReference accepts a specification for a type and searches for the corresponding type in the type system according to this specification. Different TypeReferences might resolve to the same Type. This class is used during the use case, when a Typir type uses other types for its properties, e.g. class types use other types from the type system for describing the types of its fields ("use existing type").
The internal logic of a TypeReference is independent from the kind of the type to resolve. A TypeReference takes care of the lifecycle of the types.
Once the type is resolved, listeners are notified about this and all following changes of its state.