Class ArrayDeclaration.BoundPair

java.lang.Object
simula.compiler.syntaxClass.declaration.ArrayDeclaration.BoundPair
Enclosing class:
ArrayDeclaration

private static class ArrayDeclaration.BoundPair extends Object

Utility Class to hold a BoundPair.

Syntax:

   BoundPair = ArithmeticExpression : ArithmeticExpression
Author:
SIMULA Standards Group, Øystein Myhre Andersen
  • Field Details

  • Constructor Details

    • BoundPair

      BoundPair(Expression LB, Expression UB)
      Create a new BoundPair.
      Parameters:
      LB - The lower bound expression
      UB - The upper bound expression
  • Method Details

    • doChecking

      private void doChecking()
      Perform semantic checking.
    • toString

      public String toString()
      Overrides:
      toString in class Object