modhelxs.mocs.tfsm.parser
Class OperatorAnd

java.lang.Object
  extended by modhelxs.mocs.tfsm.parser.Expression
      extended by modhelxs.mocs.tfsm.parser.BinaryOperator
          extended by modhelxs.mocs.tfsm.parser.OperatorAnd

public class OperatorAnd
extends BinaryOperator

Represents the AND operator in boolean expressions.


Field Summary
 
Fields inherited from class modhelxs.mocs.tfsm.parser.BinaryOperator
args
 
Fields inherited from class modhelxs.mocs.tfsm.parser.Expression
isValid
 
Constructor Summary
OperatorAnd(Expression a, Expression b)
           
OperatorAnd(java.util.List<Expression> args)
           
 
Method Summary
 Value eval(java.util.Map<java.lang.String,Value> in)
           
protected  java.lang.String getOp()
           
 
Methods inherited from class modhelxs.mocs.tfsm.parser.BinaryOperator
toString
 
Methods inherited from class modhelxs.mocs.tfsm.parser.Expression
getDelayGard, getName, getValid, parse, setValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperatorAnd

public OperatorAnd(java.util.List<Expression> args)

OperatorAnd

public OperatorAnd(Expression a,
                   Expression b)
Method Detail

eval

public Value eval(java.util.Map<java.lang.String,Value> in)
           throws EvaluationException
Specified by:
eval in class Expression
Throws:
EvaluationException

getOp

protected java.lang.String getOp()
Specified by:
getOp in class BinaryOperator