com.googlecode.sarasvati.rubric.lang
Class AbstractRubricExpr

java.lang.Object
  extended by com.googlecode.sarasvati.rubric.lang.AbstractRubricExpr
All Implemented Interfaces:
RubricExpr
Direct Known Subclasses:
AbstractBinaryRubricExpr, RubricExprNot, RubricExprSymbol

public abstract class AbstractRubricExpr
extends Object
implements RubricExpr


Constructor Summary
AbstractRubricExpr()
           
 
Method Summary
 RubricExprAnd asAnd()
           
 RubricExprNot asNot()
           
 RubricExprOr asOr()
           
 RubricExprSymbol asSymbol()
           
 boolean isAnd()
           
 boolean isNot()
           
 boolean isOr()
           
 boolean isSymbol()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.googlecode.sarasvati.rubric.lang.RubricExpr
eval, isEqualTo, traverse
 

Constructor Detail

AbstractRubricExpr

public AbstractRubricExpr()
Method Detail

isAnd

public boolean isAnd()
Specified by:
isAnd in interface RubricExpr

isNot

public boolean isNot()
Specified by:
isNot in interface RubricExpr

isOr

public boolean isOr()
Specified by:
isOr in interface RubricExpr

isSymbol

public boolean isSymbol()
Specified by:
isSymbol in interface RubricExpr

asAnd

public RubricExprAnd asAnd()
Specified by:
asAnd in interface RubricExpr

asNot

public RubricExprNot asNot()
Specified by:
asNot in interface RubricExpr

asOr

public RubricExprOr asOr()
Specified by:
asOr in interface RubricExpr

asSymbol

public RubricExprSymbol asSymbol()
Specified by:
asSymbol in interface RubricExpr