org.eclipse.mofscript.runtime.expression
Class ArithmeticExpressionEvaluator

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

public class ArithmeticExpressionEvaluator
extends ExpressionEvaluator

Handles the arithmetic expressions

Author:
jol

Constructor Summary
ArithmeticExpressionEvaluator(Expression expression, ExecutionEnvironment env, RuleExecutor ownerRule)
          Constructor
 
Method Summary
 
Methods inherited from class org.eclipse.mofscript.runtime.expression.ExpressionEvaluator
evaluateExpression, getExpression, getOwnerRule, resetPosisionCounter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArithmeticExpressionEvaluator

public ArithmeticExpressionEvaluator(Expression expression,
                                     ExecutionEnvironment env,
                                     RuleExecutor ownerRule)
Constructor

Parameters:
expression - The expression to be evaluated
env - The ExecutionEnvironment
ownerRule - The rule executor that owns the expression