public class DoWhileStatement extends Statement implements LoopingStatement
Constructor and Description |
---|
DoWhileStatement(BooleanExpression booleanExpression,
Statement loopBlock) |
Modifier and Type | Method and Description |
---|---|
BooleanExpression |
getBooleanExpression() |
Statement |
getLoopBlock()
Gets the loop block.
|
void |
setBooleanExpression(BooleanExpression booleanExpression) |
void |
setLoopBlock(Statement loopBlock)
Sets the loop block.
|
void |
visit(GroovyCodeVisitor visitor) |
getStatementLabel, isEmpty, setStatementLabel
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getText, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition
public DoWhileStatement(BooleanExpression booleanExpression, Statement loopBlock)
public void visit(GroovyCodeVisitor visitor)
public BooleanExpression getBooleanExpression()
public Statement getLoopBlock()
LoopingStatement
getLoopBlock
in interface LoopingStatement
public void setBooleanExpression(BooleanExpression booleanExpression)
public void setLoopBlock(Statement loopBlock)
LoopingStatement
setLoopBlock
in interface LoopingStatement