slime.absynt
Class Expr

java.lang.Object
  extended byslime.absynt.Absynt
      extended byslime.absynt.Expr
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
B_expr, Constval, U_expr, Variable

public abstract class Expr
extends Absynt
implements java.io.Serializable

Abstract class for simple expressions

Version:
$Id: Expr.java,v 1.9 2002/07/11 07:49:50 swprakt Exp $
Author:
Martin Steffen and Karsten Stahl.
See Also:
Serialized Form

Field Summary
static int AND
           
static int DIV
           
static int EQ
           
static int GEQ
           
static int GREATER
           
static int LEQ
           
static int LESS
           
static int MINUS
           
static int MOD
           
static int NEG
           
static int NEQ
           
static int OR
           
static int PLUS
           
static int POW
           
static int TIMES
           
 Type type
           
 
Fields inherited from class slime.absynt.Absynt
pos
 
Constructor Summary
Expr()
           
 
Method Summary
abstract  java.lang.Object accept(Visitors.IExpr ask)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public Type type

PLUS

public static final int PLUS
See Also:
Constant Field Values

MINUS

public static final int MINUS
See Also:
Constant Field Values

TIMES

public static final int TIMES
See Also:
Constant Field Values

DIV

public static final int DIV
See Also:
Constant Field Values

AND

public static final int AND
See Also:
Constant Field Values

OR

public static final int OR
See Also:
Constant Field Values

NEG

public static final int NEG
See Also:
Constant Field Values

EQ

public static final int EQ
See Also:
Constant Field Values

LESS

public static final int LESS
See Also:
Constant Field Values

GREATER

public static final int GREATER
See Also:
Constant Field Values

LEQ

public static final int LEQ
See Also:
Constant Field Values

GEQ

public static final int GEQ
See Also:
Constant Field Values

NEQ

public static final int NEQ
See Also:
Constant Field Values

MOD

public static final int MOD
See Also:
Constant Field Values

POW

public static final int POW
See Also:
Constant Field Values
Constructor Detail

Expr

public Expr()
Method Detail

accept

public abstract java.lang.Object accept(Visitors.IExpr ask)
                                 throws java.lang.Exception
Throws:
java.lang.Exception