com.googlecode.sarasvati.rubric.lang
Class RubricExprSymbol
java.lang.Object
com.googlecode.sarasvati.rubric.lang.AbstractRubricExpr
com.googlecode.sarasvati.rubric.lang.RubricExprSymbol
- All Implemented Interfaces:
- RubricExpr
public class RubricExprSymbol
- extends AbstractRubricExpr
RubricExprSymbol
public RubricExprSymbol(String symbol)
getSymbol
public String getSymbol()
setSymbol
public void setSymbol(String symbol)
eval
public boolean eval(PredicateEnv env)
traverse
public void traverse(RubricVisitor visitor)
isSymbol
public boolean isSymbol()
- Specified by:
isSymbol
in interface RubricExpr
- Overrides:
isSymbol
in class AbstractRubricExpr
asSymbol
public RubricExprSymbol asSymbol()
- Specified by:
asSymbol
in interface RubricExpr
- Overrides:
asSymbol
in class AbstractRubricExpr
isEqualTo
public boolean isEqualTo(RubricExpr expr)
toString
public String toString()
- Overrides:
toString
in class Object