Interface: ArrayPrimaryExpressionSemantics
compiler.ArrayPrimaryExpressionSemantics
Semantics for AST Node ArrayPrimaryExpression.
Since
0.5.0
Hierarchy
-
↳
ArrayPrimaryExpressionSemantics
Table of contents
Properties
Properties
empty
• empty: boolean
Marks if the list constant is empty. This is essential when assigning to other arrays since there it is allowed to go around type restrictions as the empty list constant can be assigned to any array type.
Defined in
kipper/core/src/compiler/ast/nodes/expressions/primary-expression/array-primary-expression/array-primary-expression-semantics.ts:22
value
• value: Expression<ExpressionSemantics, ExpressionTypeSemantics, CompilableASTNode<SemanticData, TypeData>>[]
The value of the constant list expression.
Since
0.5.0
Defined in
kipper/core/src/compiler/ast/nodes/expressions/primary-expression/array-primary-expression/array-primary-expression-semantics.ts:17