com.caucho.quercus.lib.gettext.expr
Class BinaryExpr

java.lang.Object
  extended by com.caucho.quercus.lib.gettext.expr.BinaryExpr
All Implemented Interfaces:
Expr
Direct Known Subclasses:
AddExpr, AndExpr, DivExpr, EQExpr, GEExpr, GTExpr, LEExpr, LTExpr, ModExpr, MulExpr, NEQExpr, OrExpr, SubExpr

public abstract class BinaryExpr
extends java.lang.Object
implements Expr


Field Summary
protected  Expr _left
           
protected  Expr _right
           
 
Constructor Summary
BinaryExpr(Expr left, Expr right)
           
 
Method Summary
abstract  int eval(int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_left

protected Expr _left

_right

protected Expr _right
Constructor Detail

BinaryExpr

public BinaryExpr(Expr left,
                  Expr right)
Method Detail

eval

public abstract int eval(int n)
Specified by:
eval in interface Expr