Interface ASTLoopStatement

    • Method Detail

      • getBody

        default ASTStatement getBody()
        Returns the statement that represents the body of this loop.
      • getCondition

        default @Nullable ASTExpression getCondition()
        Returns the node that represents the condition of this loop. This may be any expression of type boolean.

        If there is no specified guard, then returns null (in particular, returns null if this is a foreach loop).