slime.absynt
Class B_expr

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

public class B_expr
extends Expr
implements java.io.Serializable

binary expressions

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

Field Summary
 Expr left_expr
           
 int op
           
 Expr right_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
B_expr(Expr l, int o, Expr r)
          Constructor in ``infix''-convention.
 
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

left_expr

public Expr left_expr

right_expr

public Expr right_expr

op

public int op
Constructor Detail

B_expr

public B_expr(Expr l,
              int o,
              Expr r)
Constructor in ``infix''-convention. Always call as Expr.

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