[I] Union
Extends
Properties
| Property | Modifier | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|---|
decorators | public | DecoratorApplication[] | - | - | DecoratedType.decorators |
entityKind | readonly | "Type" | - | - | BaseType.entityKind |
expression | public | boolean | - | - | - |
instantiationParameters? | public | Type[] | - | - | BaseType.instantiationParameters |
isFinished | public | boolean | Reflect if a type has been finished(Decorators have been called). There is multiple reasons a type might not be finished: - a template declaration will not - a template instance that argument that are still template parameters - a template instance that is only partially instantiated(like a templated operation inside a templated interface) | - | BaseType.isFinished |
kind | public | "Union" | - | BaseType.kind | - |
name? | public | string | - | - | - |
namespace? | public | Namespace | - | - | - |
node | public | | UnionStatementNode | UnionExpressionNode | - | BaseType.node | - |
options | readonly | Type[] | Deprecated use variants | - | - |
projectionBase? | public | Type | - | - | BaseType.projectionBase |
projectionSource? | public | Type | - | - | BaseType.projectionSource |
projector? | public | Projector | - | - | BaseType.projector |
templateArguments? | public | ( | Type | Value | IndeterminateEntity)[] | Deprecated use templateMapper instead. | - | TemplatedTypeBase.templateArguments |
templateMapper? | public | TypeMapper | - | - | TemplatedTypeBase.templateMapper |
templateNode? | public | Node | - | - | TemplatedTypeBase.templateNode |
variants | public | RekeyableMap<string | symbol, UnionVariant> | The variants of the union. Variants are ordered in order that they appear in source. | - | - |
Accessors
projections
Get Signature
get projections(): ProjectionStatementNode[]Returns
Inherited from
Methods
projectionsByName()
projectionsByName(name): ProjectionStatementNode[]Parameters
| Parameter | Type |
|---|---|
name | string |