org.eclipse.mofscript.runtime.expression
Class LiteralEvaluator

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

public class LiteralEvaluator
extends SimpleExpressionEvaluator

Handles literal expressions

Author:
jol

Constructor Summary
LiteralEvaluator(Expression expression, ExecutionEnvironment env, RuleExecutor ownerRuleExecutor)
          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

LiteralEvaluator

public LiteralEvaluator(Expression expression,
                        ExecutionEnvironment env,
                        RuleExecutor ownerRuleExecutor)
Constructor

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