public class DoWhileStatement
extends Statement
implements LoopingStatement
Represents a do { ... } while (condition) loop in Groovy
| Constructor and description |
|---|
DoWhileStatement(BooleanExpression booleanExpression, Statement loopBlock) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public BooleanExpression |
getBooleanExpression() |
|
public Statement |
getLoopBlock() |
|
public void |
setBooleanExpression(BooleanExpression booleanExpression) |
|
public void |
setLoopBlock(Statement loopBlock) |
|
public void |
visit(GroovyCodeVisitor visitor) |
| Methods inherited from class | Name |
|---|---|
class Statement |
addStatementAnnotation, addStatementLabel, copyStatementLabels, getStatementAnnotations, getStatementLabel, getStatementLabels, isEmpty, setStatementLabel |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.