absynt
Class Constval

java.lang.Object
  |
  +--absynt.Absynt
        |
        +--absynt.Expr
              |
              +--absynt.Constval
All Implemented Interfaces:
java.io.Serializable

public class Constval
extends Expr
implements java.io.Serializable

Constant values as expressions. Supported are integers and booleans.

Version:
$Id: Constval.java,v 1.1 2001/05/02 06:01:10 swprakt Exp $
Author:
Initially provided by Martin Steffen.
See Also:
Serialized Form

Field Summary
 java.lang.Object val
          Constant values are integers and booleans; they are directly implemented using the corresponding data types from Java.
 
Fields inherited from class absynt.Expr
AND, DIV, EQ, GEQ, GREATER, LEQ, LESS, MINUS, NEG, NEQ, OR, PLUS, TIMES, type
 
Fields inherited from class absynt.Absynt
pos
 
Constructor Summary
Constval(boolean v)
          2 overloaded constructors.
Constval(int v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

val

public java.lang.Object val
Constant values are integers and booleans; they are directly implemented using the corresponding data types from Java.
Constructor Detail

Constval

public Constval(boolean v)
2 overloaded constructors. The value is stored as ``Object''

Constval

public Constval(int v)