public class XBaseEvaluator extends java.lang.Object implements IExpressionEvaluator
Constructor and Description |
---|
XBaseEvaluator(org.eclipse.xtext.xbase.XExpression xExpression,
Pattern pattern) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluateExpression(IValueProvider provider)
The expression evaluator code
|
org.eclipse.xtext.xbase.XExpression |
getExpression() |
java.lang.Iterable<java.lang.String> |
getInputParameterNames()
All input parameter names should be reported correctly.
|
java.lang.String |
getShortDescription()
A textual description of the expression.
|
public XBaseEvaluator(org.eclipse.xtext.xbase.XExpression xExpression, Pattern pattern) throws SpecificationBuilderException
xExpression
- the expression to evaluatepattern
- SpecificationBuilderException
public java.lang.Iterable<java.lang.String> getInputParameterNames()
IExpressionEvaluator
getInputParameterNames
in interface IExpressionEvaluator
public org.eclipse.xtext.xbase.XExpression getExpression()
public java.lang.Object evaluateExpression(IValueProvider provider) throws java.lang.Exception
IExpressionEvaluator
evaluateExpression
in interface IExpressionEvaluator
provider
- the value provider is an engine-specific way of reading internal variable tuples to evaluate the
expression withjava.lang.Exception
public java.lang.String getShortDescription()
IExpressionEvaluator
getShortDescription
in interface IExpressionEvaluator