LoopingStatement (groovy 3.0.9 API)

Package: org.codehaus.groovy.ast.stmt

## [Java] Interface LoopingStatement

-     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.

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public Statement` | `getLoopBlock()` Gets the loop block.
    `` | `public void` | `setLoopBlock(Statement loopBlock)` Sets the loop block.

- - ### Method Detail

    - #### public Statement getLoopBlock()

      Gets the loop block.

    - #### public void setLoopBlock(Statement loopBlock)

      Sets the loop block.