slime.absynt
Class U_expr

java.lang.Object
  extended byslime.absynt.Absynt
      extended byslime.absynt.Expr
          extended byslime.absynt.U_expr
All Implemented Interfaces:
java.io.Serializable

public class U_expr
extends Expr
implements java.io.Serializable

Unary expressions

Version:
$Id: U_expr.java,v 1.6 2002/06/13 12:34:27 swprakt Exp $
Author:
Initially provided by Martin Steffen.
See Also:
Serialized Form

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

Field Detail

sub_expr

public Expr sub_expr

op

public int op
Constructor Detail

U_expr

public U_expr(int o,
              Expr s)
Method Detail

accept

public java.lang.Object accept(Visitors.IExpr ask)
                        throws java.lang.Exception
visitor acceptor

Specified by:
accept in class Expr
Throws:
java.lang.Exception