Package ast.loop

Types

Link copied to clipboard
class Break : Statement

Represents the exit from a loop, and continuation from the succeeding statement.

Link copied to clipboard
class Continue : Statement

Represents the termination of the current iteration of a loop.

Link copied to clipboard
class ForLoop(    val identifier: Identifier,     val expression: Expression,     val body: Block) : Statement

Iterates over a sequence and executes a Block for each element

Link copied to clipboard
class WhileLoop(val condition: Expression, val body: Block) : Statement

Repeatedly executes a Block while a condition is true.