Class WhileStatement
java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.stmt.Statement
org.codehaus.groovy.ast.stmt.WhileStatement
- All Implemented Interfaces:
LoopingStatement
Represents a while (condition) { ... } loop in Groovy
- Version:
- $Revision$
- Author:
- James Strachan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the loop block.voidsetBooleanExpression(BooleanExpression booleanExpression) voidsetLoopBlock(Statement loopBlock) Sets the loop block.voidvisit(GroovyCodeVisitor visitor) Methods inherited from class Statement
getStatementLabel, isEmpty, setStatementLabel
-
Constructor Details
-
WhileStatement
-
-
Method Details
-
visit
-
getBooleanExpression
-
getLoopBlock
Description copied from interface:LoopingStatementGets the loop block.- Specified by:
getLoopBlockin interfaceLoopingStatement
-
setBooleanExpression
-
setLoopBlock
Description copied from interface:LoopingStatementSets the loop block.- Specified by:
setLoopBlockin interfaceLoopingStatement
-