Interface: OperatorModifiedUnaryTypeSemantics
compiler.OperatorModifiedUnaryTypeSemantics
Type semantics for AST Node OperatorModifiedUnaryExpression.
Since
0.10.0
Hierarchy
-
↳
OperatorModifiedUnaryTypeSemantics
Table of contents
Properties
Properties
evaluatedType
• evaluatedType: ProcessedType
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.
To avoid confusion with the commonly used storedType, please note that
this property usually evaluates to simply type in cases where both properties are present, as it is the type that
is evaluated by the expression but not the actual type that is stored.
Accordingly:
1 + 1would have anevaluatedTypeofnumberbut nostoredType, as it is not a meta type reference.numwould have anevaluatedTypeoftypeand astoredTypeofnumber, as it is a meta type reference.
Since
0.10.0
Inherited from
UnaryExpressionTypeSemantics.evaluatedType
Defined in
kipper/core/src/compiler/ast/nodes/expressions/expression-type-semantics.ts:26