Class: Type
compiler.Type
The abstract base type of a general type that may exist/be valid, but also may not. This is a general representation to store a type's information in the semantic data and CompilableASTNode.typeData type data of an CompilableASTNode.
Since
0.10.0
Hierarchy
Type
Table of contents
Constructors
Properties
Accessors
Constructors
constructor
• Protected
new Type(identifier
)
Parameters
Name | Type |
---|---|
identifier |
string |
Defined in
kipper/core/src/compiler/analysis/type.ts:29
Properties
_identifier
• Protected
Readonly
_identifier: string
Defined in
kipper/core/src/compiler/analysis/type.ts:27
Accessors
identifier
• get
identifier(): string
The identifier of this type.
Since
0.10.0
Returns
string
Defined in
kipper/core/src/compiler/analysis/type.ts:37