Interface: BitwiseOrExpressionTypeSemantics
compiler.BitwiseOrExpressionTypeSemantics
Type semantics for AST Node BitwiseOrExpression.
Since
0.11.0
Hierarchy
BitwiseExpressionTypeSemantics↳
BitwiseOrExpressionTypeSemantics
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
BitwiseExpressionTypeSemantics.evaluatedType
Defined in
kipper/core/src/compiler/ast/nodes/expressions/expression-type-semantics.ts:26