next up previous contents
Next: BinaryExpression Up: Expression Previous: Expression   Contents


Constant

Constant objects represent constants in the intermediate representation. Currently two kinds of constants are supported: IntConstants (integers) and FloatConstants (floats).

  abstract Constant : Expression
    {
    };

  concrete IntConstant : Constant
    {
      IInteger value;
    };

  concrete FloatConstant : Constant
    {
      String value;
    };



SUIF Nightly Build
2000-08-14