Interface: CastOrConvertExpressionTypeSemantics
compiler.CastOrConvertExpressionTypeSemantics
Type semantics for AST Node CastOrConvertExpression.
Since
0.10.0
Hierarchy
-
↳
CastOrConvertExpressionTypeSemantics
Table of contents
Properties
Properties
castType
• castType: CheckedType
The type the exp should be converted to.
Since
0.10.0
Defined in
kipper/core/src/compiler/ast/nodes/expressions/cast-or-convert-expression/cast-or-convert-expression-type-semantics.ts:17
evaluatedType
• evaluatedType: CheckedType
The value type that this expression evaluates to. This is used to properly represent the evaluated type of expressions that do not explicitly show their type.
This will always evaluate to "type", as a type specifier will always be a type.
Since
0.10.0
Inherited from
ExpressionTypeSemantics.evaluatedType
Defined in
kipper/core/src/compiler/ast/nodes/expressions/expression-type-semantics.ts:20