public class WhileStatement extends Statement
Represents a while (condition) { ... } loop in Groovy
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) |
Methods inherited from class | Name |
---|---|
class Statement |
addStatementLabel, getStatementLabel, getStatementLabels, isEmpty, setStatementLabel |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getNodeMetaData, getText, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition, visit |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Copyright © 2003-2017 The Apache Software Foundation. All rights reserved.