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

java.lang.Object
  extended by com.caucho.quercus.lib.gettext.expr.IfExpr
All Implemented Interfaces:
Expr

public class IfExpr
extends java.lang.Object
implements Expr


Field Summary
protected  Expr _falseExpr
           
protected  Expr _testExpr
           
protected  Expr _trueExpr
           
 
Constructor Summary
IfExpr(Expr testExpr, Expr trueExpr, Expr falseExpr)
           
 
Method Summary
 int eval(int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_testExpr

protected Expr _testExpr

_trueExpr

protected Expr _trueExpr

_falseExpr

protected Expr _falseExpr
Constructor Detail

IfExpr

public IfExpr(Expr testExpr,
              Expr trueExpr,
              Expr falseExpr)
Method Detail

eval

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