Class AnnotatedLoopStatement

  • All Implemented Interfaces:
    AnnotatedStatement

    public final class AnnotatedLoopStatement
    extends java.lang.Object
    implements AnnotatedStatement
    The AnnotatedLoopStatement class is used to store information about annotated loop statements declared during compilation.
    Since:
    1.0
    • Constructor Detail

      • AnnotatedLoopStatement

        public AnnotatedLoopStatement​(AnnotatedExpression lowerBound,
                                      AnnotatedExpression upperBound,
                                      AnnotatedStatement body)
        Constructs an AnnotatedLoopStatement object, initialised with the statements contents.
        Parameters:
        lowerBound - The lower bound AnnotatedExpression
        upperBound - The upper bound AnnotatedExpression
        body - The AnnotatedStatement to be run in the loop body