Class DoWhileStatement

All Implemented Interfaces:
NodeMetaDataHandler, LoopingStatement

public class DoWhileStatement extends Statement implements LoopingStatement
Represents a do { ... } while (condition) loop in Groovy. A do-while loop executes its body unconditionally on the first iteration, then evaluates a BooleanExpression after each iteration to decide whether to repeat. The loop body always executes at least once, differentiating it from a WhileStatement.
See Also: