public 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.
Type Params | Return Type | Name and description |
---|---|---|
public Statement |
getLoopBlock() Gets the loop block. | |
public void |
setLoopBlock(Statement loopBlock) Sets the loop block. |
Gets the loop block.
Sets the loop block.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/ast/stmt/LoopingStatement.html