org.sintef.mofscript.runtime.expression
Class ArithmeticExpressionEvaluator

java.lang.Object
  extended by org.sintef.mofscript.runtime.expression.ExpressionEvaluator
      extended by org.sintef.mofscript.runtime.expression.ArithmeticExpressionEvaluator

public class ArithmeticExpressionEvaluator
extends ExpressionEvaluator


Field Summary
 
Fields inherited from class org.sintef.mofscript.runtime.expression.ExpressionEvaluator
_env, _expression, _ownerRuleExecutor, _positionCounter
 
Constructor Summary
ArithmeticExpressionEvaluator(Expression expression, ExecutionEnvironment env, RuleExecutor ownerRule)
           
 
Method Summary
protected  java.lang.Object evaluate(java.lang.Object inputObject)
          To be defined by subclasses - the actual evaluation of the expression
 
Methods inherited from class org.sintef.mofscript.runtime.expression.ExpressionEvaluator
evaluateExpression, resetPosisionCounter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArithmeticExpressionEvaluator

public ArithmeticExpressionEvaluator(Expression expression,
                                     ExecutionEnvironment env,
                                     RuleExecutor ownerRule)
Method Detail

evaluate

protected java.lang.Object evaluate(java.lang.Object inputObject)
                             throws MofScriptExecutionException
Description copied from class: ExpressionEvaluator
To be defined by subclasses - the actual evaluation of the expression

Specified by:
evaluate in class ExpressionEvaluator
Returns:
Throws:
MofScriptExecutionException