ForLoopNode
class ForLoopNode(val initialize: SimpleStatementNode, val guard: ExpressionNode, val update: SimpleStatementNode, val body: BlockNode, val jumpLabel: JumpLabelNode?, val sourceLocation: SourceLocation, val comment: String? = null) : LoopNode
A for loop.
Parameters
initialize
Initializer for loop variables.
guard
Loop until this becomes false.
update
Update loop variables after each iteration.
Constructors
Link copied to clipboard
fun ForLoopNode(initialize: SimpleStatementNode, guard: ExpressionNode, update: SimpleStatementNode, body: BlockNode, jumpLabel: JumpLabelNode?, sourceLocation: SourceLocation, comment: String? = null)