org.eclipse.mofscript.runtime.expression
Class FunctionCallEvaluator
java.lang.Object
org.eclipse.mofscript.runtime.expression.ExpressionEvaluator
org.eclipse.mofscript.runtime.expression.SimpleExpressionEvaluator
org.eclipse.mofscript.runtime.expression.FunctionCallEvaluator
- Direct Known Subclasses:
- TraceabilityFunctionCallEvaluator, UMLFunctionCallEvaluator
public class FunctionCallEvaluator
- extends SimpleExpressionEvaluator
Handles function calls
- Author:
- jol
Method Summary |
static java.lang.Boolean |
isKindOf(org.eclipse.emf.ecore.EObject toCheck,
java.lang.Object clazz)
Checks whether an EObject is kind of Object clazz |
static java.lang.Boolean |
isTypeOf(org.eclipse.emf.ecore.EObject toCheck,
java.lang.Object clazz)
Checks whether an EObject is of type Object clazz |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionCallEvaluator
public FunctionCallEvaluator(Expression expression,
ExecutionEnvironment env,
RuleExecutor ownerRuleExecutor)
- Constructor
- Parameters:
expression
- The expression to be evaluatedenv
- The ExecutionEnvironmentownerRuleExecutor
- The rule executor that owns the expression
isTypeOf
public static java.lang.Boolean isTypeOf(org.eclipse.emf.ecore.EObject toCheck,
java.lang.Object clazz)
- Checks whether an EObject is of type Object clazz
- Parameters:
toCheck
- clazz
-
- Returns:
isKindOf
public static java.lang.Boolean isKindOf(org.eclipse.emf.ecore.EObject toCheck,
java.lang.Object clazz)
- Checks whether an EObject is kind of Object clazz
- Parameters:
toCheck
- clazz
-
- Returns: