Class WhileStatement

All Implemented Interfaces:
NodeMetaDataHandler, LoopingStatement

public class WhileStatement extends Statement implements LoopingStatement
Represents a while (condition) { ... } loop in Groovy. The while loop repeatedly evaluates a BooleanExpression at the start of each iteration and executes the loop body only if the condition is true. If the condition is false on the first evaluation, the loop body never executes.
See Also: