public class WhileStatement extends Statement
Represents a while (condition) { ... } loop in Groovy
| Fields inherited from class | Fields |
|---|---|
interface Statement |
CLOSE_CURRENT_RESULT, KEEP_CURRENT_RESULT, CLOSE_ALL_RESULTS, SUCCESS_NO_INFO, EXECUTE_FAILED, RETURN_GENERATED_KEYS, NO_GENERATED_KEYS |
| Constructor and description |
|---|
WhileStatement
(BooleanExpression booleanExpression, Statement loopBlock) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
BooleanExpression |
getBooleanExpression() |
|
Statement |
getLoopBlock() |
|
void |
setBooleanExpression(BooleanExpression booleanExpression) |
|
void |
setLoopBlock(Statement loopBlock) |
|
void |
visit(GroovyCodeVisitor visitor) |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.