Interface: IterationStatementSemantics
compiler.IterationStatementSemantics
Semantics for AST Node IterationStatement.
Since
0.10.0
Hierarchy
StatementSemantics
↳
IterationStatementSemantics
↳↳
WhileLoopStatementSemantics
Table of contents
Properties
Properties
loopBody
• loopBody: Statement
<StatementSemantics
, StatementTypeSemantics
>
The body of the loop, which is handled and executed depending on the loop type and the value of loopCondition.
Since
0.10.0
Defined in
kipper/core/src/compiler/ast/nodes/statements/iteration-statement/iteration-statement-semantics.ts:24
loopCondition
• loopCondition: undefined
| Expression
<ExpressionSemantics
, ExpressionTypeSemantics
, CompilableASTNode
<SemanticData
, TypeData
>>
The loop condition, which, if it evaluates to true will trigger the loop to continue executing.
Since
0.10.0
Defined in
kipper/core/src/compiler/ast/nodes/statements/iteration-statement/iteration-statement-semantics.ts:18