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;
};