modhelxs.mocs.tfsm.parser
Class OperatorOr

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

public class OperatorOr
extends BinaryOperator

Represents the OR 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
OperatorOr(Expression a, Expression b)
           
OperatorOr(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

OperatorOr

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

OperatorOr

public OperatorOr(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