|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mofscript.runtime.expression.ExpressionEvaluator
public abstract class ExpressionEvaluator
Handles expressions
Constructor Summary | |
---|---|
ExpressionEvaluator(Expression expression,
ExecutionEnvironment env,
RuleExecutor ownerRuleExecutor)
Constructor |
Method Summary | |
---|---|
java.lang.Object |
evaluateExpression(java.lang.Object inputObject)
Evaluates an expression and returns the value as an Object |
Expression |
getExpression()
|
TransformationRule |
getOwnerRule()
|
static void |
resetPosisionCounter()
Resetes the position counter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpressionEvaluator(Expression expression, ExecutionEnvironment env, RuleExecutor ownerRuleExecutor)
expression
- The expression to be evaluatedenv
- The ExecutionEnvironmentownerRuleExecutor
- The rule executor that owns the expressionMethod Detail |
---|
public TransformationRule getOwnerRule()
public Expression getExpression()
public final java.lang.Object evaluateExpression(java.lang.Object inputObject) throws MofScriptExecutionException
exp
-
MofScriptExecutionException
public static void resetPosisionCounter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |