[Java] Interface LoopingStatement
This is an AST Node that provides some sort of looping mechanism. Typically in the form of a block that will be executed repeatedly. DoWhileStatements, WhileStatements, and ForStatements are all examples of LoopingStatements.
Properties Summary
| Type | Name and description |
|---|---|
Statement |
loopBlock |
Methods Summary
| Type Params | Return Type | Name and description |
|---|---|---|
Statement |
getLoopBlock()Gets the loop block. | |
void |
setLoopBlock(Statement loopBlock)Sets the loop block. |
Property Detail
Statement loopBlock
Method Detail
public Statement getLoopBlock()
Gets the loop block.
public void setLoopBlock(Statement loopBlock)
Sets the loop block.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/ast/stmt/LoopingStatement.html