Uses of Class
org.eclipse.epsilon.eol.dom.Expression
Packages that use Expression
Package
Description
-
Uses of Expression in org.eclipse.epsilon.emc.jdt
Methods in org.eclipse.epsilon.emc.jdt with parameters of type ExpressionModifier and TypeMethodDescriptionprotected boolean
SearchableTypeCollection.isSearchByName
(String iteratorName, Expression condition) protected Object
SearchableTypeCollection.performSearch
(IEolContext context, Expression nameExpression, List<Object> results, org.eclipse.jdt.core.search.SearchRequestor requestor) -
Uses of Expression in org.eclipse.epsilon.emc.plainxml
Method parameters in org.eclipse.epsilon.emc.plainxml with type arguments of type ExpressionModifier and TypeMethodDescriptionPlainXMLOperationContributor.findContributedMethodForUnevaluatedParameters
(Object target, String name, List<Expression> parameterExpressions, IEolContext context) We can't find the method if the parameters are unevaluated -
Uses of Expression in org.eclipse.epsilon.emc.simulink.operations
Methods in org.eclipse.epsilon.emc.simulink.operations with parameters of type ExpressionModifier and TypeMethodDescriptionCollection<?>
SimulinkSelectOperation.execute
(boolean returnOnMatch, Object target, NameExpression operationNameExpression, List<Parameter> iterators, Expression expression, IEolContext context) Collection<?>
StateflowSelectOperation.execute
(boolean returnOnMatch, Object target, NameExpression operationNameExpression, List<Parameter> iterators, Expression expression, IEolContext context) protected String
SimulinkSelectOperation.expression
(Expression exp) protected String
StateflowSelectOperation.expression
(Expression exp) protected String
StateflowSelectOperation.expression
(Expression exp1, Expression exp2) protected String
SimulinkSelectOperation.processValue
(Expression operand) TODO check and handle elements of type simulinkmodel elementprotected String
StateflowSelectOperation.processValue
(Expression operand) protected String
StateflowSelectOperation.processValue
(Expression operand, String prepend, String append) TODO check and handle elements of type simulinkmodel elementMethod parameters in org.eclipse.epsilon.emc.simulink.operations with type arguments of type ExpressionModifier and TypeMethodDescriptionprotected boolean
SimulinkCollectOperation.areExpressionsValid
(List<Expression> expressions) protected boolean
StateflowCollectOperation.areExpressionsValid
(List<Expression> expressions) -
Uses of Expression in org.eclipse.epsilon.eol.dom
Subclasses of Expression in org.eclipse.epsilon.eol.domModifier and TypeClassDescriptionclass
class
class
class
Allows for expressions which mix multiple lambdas and ordinary parameters in any order.class
class
class
class
a ?: b
is shorthand fora != null ? a : b
.class
class
class
class
class
class
class
class
class
class
class
class
class
class
MapLiteralExpression<K,
V> class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Ternary operator, similar to Java's.class
class
class
class
class
Fields in org.eclipse.epsilon.eol.dom declared as ExpressionModifier and TypeFieldDescriptionprotected Expression
Case.condition
protected Expression
IfStatement.conditionExpression
protected Expression
SwitchStatement.conditionExpression
protected Expression
WhileStatement.conditionExpression
protected Expression
DeleteStatement.expression
protected Expression
ExecutableAnnotation.expression
protected Expression
ExpressionInBrackets.expression
protected Expression
ExpressionStatement.expression
protected Expression
OperatorExpression.firstOperand
protected Expression
ItemSelectorExpression.indexExpression
protected Expression
ForStatement.iteratedExpression
protected Expression
ReturnStatement.returnedExpression
protected Expression
OperatorExpression.secondOperand
protected Expression
AssignmentStatement.targetExpression
protected Expression
FeatureCallExpression.targetExpression
protected Expression
ItemSelectorExpression.targetExpression
protected Expression
TernaryExpression.thirdOperand
protected Expression
ThrowStatement.thrown
protected Expression
AssignmentStatement.valueExpression
Fields in org.eclipse.epsilon.eol.dom with type parameters of type ExpressionModifier and TypeFieldDescriptionprotected LinkedHashMap<Expression,
List<Parameter>> ComplexOperationCallExpression.complexParameters
protected List<Expression>
FirstOrderOperationCallExpression.expressions
protected List<Map.Entry<Expression,
Expression>> MapLiteralExpression.keyValueExpressionPairs
protected List<Map.Entry<Expression,
Expression>> MapLiteralExpression.keyValueExpressionPairs
protected List<Expression>
CollectionLiteralExpression.parameterExpressions
protected List<Expression>
NewInstanceExpression.parameterExpressions
protected final ArrayList<Expression>
OperationCallExpression.parameterExpressions
protected List<Expression>
VariableDeclaration.parameterExpressions
Methods in org.eclipse.epsilon.eol.dom that return ExpressionModifier and TypeMethodDescriptionCase.getCondition()
IfStatement.getConditionExpression()
SwitchStatement.getConditionExpression()
WhileStatement.getConditionExpression()
DeleteStatement.getExpression()
ExecutableAnnotation.getExpression()
ExpressionInBrackets.getExpression()
ExpressionStatement.getExpression()
OperatorExpression.getFirstOperand()
ItemSelectorExpression.getIndexExpression()
ForStatement.getIteratedExpression()
ReturnStatement.getReturnedExpression()
OperatorExpression.getSecondOperand()
AssignmentStatement.getTargetExpression()
FeatureCallExpression.getTargetExpression()
ItemSelectorExpression.getTargetExpression()
TernaryExpression.getThirdOperand()
ThrowStatement.getThrown()
AssignmentStatement.getValueExpression()
protected Expression
AssignmentStatement.getValueExpression
(AST cst, Expression expression) Methods in org.eclipse.epsilon.eol.dom that return types with arguments of type ExpressionModifier and TypeMethodDescriptionComplexOperationCallExpression.getComplexParameters()
FirstOrderOperationCallExpression.getExpressions()
MapLiteralExpression.getKeyValueExpressionPairs()
MapLiteralExpression.getKeyValueExpressionPairs()
OperatorExpression.getOperands()
CollectionLiteralExpression.getParameterExpressions()
NewInstanceExpression.getParameterExpressions()
OperationCallExpression.getParameterExpressions()
VariableDeclaration.getParameterExpressions()
Methods in org.eclipse.epsilon.eol.dom with parameters of type ExpressionModifier and TypeMethodDescriptionprotected Expression
AssignmentStatement.getValueExpression
(AST cst, Expression expression) void
Case.setCondition
(Expression condition) void
IfStatement.setConditionExpression
(Expression conditionExpression) void
SwitchStatement.setConditionExpression
(Expression conditionExpression) void
WhileStatement.setConditionExpression
(Expression conditionExpression) void
DeleteStatement.setExpression
(Expression expression) void
ExecutableAnnotation.setExpression
(Expression expression) void
ExpressionInBrackets.setExpression
(Expression expression) void
ExpressionStatement.setExpression
(Expression expression) void
OperatorExpression.setFirstOperand
(Expression firstOperand) void
ItemSelectorExpression.setIndexExpression
(Expression indexExpression) void
ForStatement.setIteratedExpression
(Expression iteratedExpression) void
ReturnStatement.setReturnedExpression
(Expression returnedExpression) void
OperatorExpression.setSecondOperand
(Expression secondOperand) void
AssignmentStatement.setTargetExpression
(Expression targetExpression) void
FeatureCallExpression.setTargetExpression
(Expression targetExpression) void
ItemSelectorExpression.setTargetExpression
(Expression targetExpression) void
TernaryExpression.setThirdOperand
(Expression thirdOperand) void
ThrowStatement.setThrown
(Expression thrown) void
AssignmentStatement.setValueExpression
(Expression valueExpression) Method parameters in org.eclipse.epsilon.eol.dom with type arguments of type ExpressionModifier and TypeMethodDescriptionprotected Object
TypeInitialiser.initialiseType
(EolType type, List<Expression> parameters, IEolContext context, boolean createIfNonPrimitive) void
ComplexOperationCallExpression.setComplexParameters
(LinkedHashMap<Expression, List<Parameter>> complexParameters) Constructors in org.eclipse.epsilon.eol.dom with parameters of type ExpressionModifierConstructorDescriptionAndOperatorExpression
(Expression firstOperand, Expression secondOperand) AssignmentStatement
(Expression targetExpression, Expression valueExpression) CollectionLiteralExpression
(String collectionType, boolean range, Expression... parameterExpressions) CollectionLiteralExpression
(String collectionType, Expression... parameterExpressions) DivOperatorExpression
(Expression firstOperand, Expression secondOperand) EagerOperatorExpression
(Expression firstOperand, Expression secondOperand) EqualsOperatorExpression
(Expression firstOperand, Expression secondOperand) ExpressionStatement
(Expression expression) FirstOrderOperationCallExpression
(Expression targetExpression, NameExpression nameExpression, Parameter parameter, Expression lambdaExpression) ForStatement
(Parameter iteratorParameter, Expression iteratedExpression, StatementBlock bodyStatementBlock) GreaterEqualOperatorExpression
(Expression firstOperand, Expression secondOperand) GreaterThanOperatorExpression
(Expression firstOperand, Expression secondOperand) IfStatement
(Expression conditionExpression, StatementBlock thenStatementBlock, StatementBlock elseStatementBlock) ImpliesOperatorExpression
(Expression firstOperand, Expression secondOperand) LessEqualOperatorExpression
(Expression firstOperand, Expression secondOperand) LessThanOperatorExpression
(Expression firstOperand, Expression secondOperand) MinusOperatorExpression
(Expression firstOperand, Expression secondOperand) NegativeOperatorExpression
(Expression operand) NotEqualsOperatorExpression
(Expression firstOperand, Expression secondOperand) NotOperatorExpression
(Expression operand) OperationCallExpression
(Expression targetExpression, NameExpression nameExpression, Expression... parameterExpressions) OperatorExpression
(Expression firstOperand, Expression secondOperand) OrOperatorExpression
(Expression firstOperand, Expression secondOperand) PlusOperatorExpression
(Expression firstOperand, Expression secondOperand) PostfixOperatorExpression
(Expression operand, boolean increase) PropertyCallExpression
(Expression targetExpression, NameExpression propertyNameExpression) ReturnStatement
(Expression returnedExpression) SwitchStatement
(Expression conditionExpression, List<Case> cases, Case _default) TernaryExpression
(Expression condition, Expression rIfTrue, Expression rIfFalse) ThrowStatement
(Expression thrown) TimesOperatorExpression
(Expression firstOperand, Expression secondOperand) VariableDeclaration
(NameExpression nameExpression, TypeExpression typeExpression, boolean instantiate, Expression... parameterExpressions) WhileStatement
(Expression conditionExpression, StatementBlock bodyStatementBlock) XorOperatorExpression
(Expression firstOperand, Expression secondOperand) -
Uses of Expression in org.eclipse.epsilon.eol.execute.operations
Method parameters in org.eclipse.epsilon.eol.execute.operations with type arguments of type ExpressionModifier and TypeMethodDescriptionDynamicOperation.execute
(Object target, NameExpression operationNameExpression, LinkedHashMap<Expression, List<Parameter>> lambdas, IEolContext context) -
Uses of Expression in org.eclipse.epsilon.eol.execute.operations.contributors
Method parameters in org.eclipse.epsilon.eol.execute.operations.contributors with type arguments of type ExpressionModifier and TypeMethodDescriptionOperationContributor.findContributedMethodForUnevaluatedParameters
(Object target, String name, List<Expression> parameterExpressions, IEolContext context) OperationContributorRegistry.findContributedMethodForUnevaluatedParameters
(Object target, String name, List<Expression> parameterExpressions, IEolContext context) Finds a contributed operation that is invoked without prior evaluation (i.e. -
Uses of Expression in org.eclipse.epsilon.eol.execute.operations.declarative
Methods in org.eclipse.epsilon.eol.execute.operations.declarative with parameters of type ExpressionModifier and TypeMethodDescriptionprotected void
ClosureOperation.closure
(Collection<Object> closure, Collection<?> source, Parameter parameter, Expression expression, IEolContext context) FirstOrderOperation.execute
(Object target, Variable iterator, Expression expression, IEolContext context) Deprecated.Use one of the other execute methods insteadprotected boolean
NMatchOperation.execute
(int sourceSize, int targetMatches, Collection<Object> source, NameExpression operationNameExpression, List<Parameter> iterators, Expression expression, IEolContext context) Collection<?>
SelectOperation.execute
(boolean returnOnMatch, Object target, NameExpression operationNameExpression, List<Parameter> iterators, Expression expression, IEolContext context) SelectOperation.execute
(Object target, Variable iterator, Expression expression, IEolContext context, boolean returnOnMatch) Deprecated.Use one of the other execute methods insteadprotected <F> F
FirstOrderOperation.resolve
(Class<?> fType, NameExpression operationNameExpression, List<Parameter> iterators, Expression expression, IEolContext context) protected final CheckedEolFunction<Object,
?> FirstOrderOperation.resolveFunction
(NameExpression operationNameExpression, List<Parameter> iterators, Expression expression, IEolContext context) protected final CheckedEolPredicate<Object>
FirstOrderOperation.resolvePredicate
(NameExpression operationNameExpression, List<Parameter> iterators, Expression expression, IEolContext context) -
Uses of Expression in org.eclipse.epsilon.eol.execute.operations.declarative.concurrent
Methods in org.eclipse.epsilon.eol.execute.operations.declarative.concurrent with parameters of type ExpressionModifier and TypeMethodDescriptionprotected boolean
ParallelNMatchOperation.execute
(int sourceSize, int targetMatches, Collection<Object> source, NameExpression operationNameExpression, List<Parameter> iterators, Expression expression, IEolContext context_) Collection<?>
ParallelSelectOperation.execute
(boolean returnOnMatch, Object target, NameExpression operationNameExpression, List<Parameter> iterators, Expression expression, IEolContext context_) -
Uses of Expression in org.eclipse.epsilon.eol.function
Methods in org.eclipse.epsilon.eol.function with parameters of type ExpressionModifier and TypeMethodDescriptionstatic <R> R
EolLambdaFactory.executeExpression
(IEolContext context, ModuleElement ast, Class<R> expectedReturnType, Expression expression, List<Parameter> params, Object... paramValues) static Object
EolLambdaFactory.resolveFor
(Class<?> clazz, List<Parameter> iteratorParams, Expression lambdaExpr, ModuleElement ast, IEolContext context) static Object
EolLambdaFactory.resolveFor
(String clazzName, List<Parameter> iteratorParams, Expression lambdaExpr, ModuleElement ast, IEolContext context) Validation of parameters is assumed to have already been performed in DynamicOperation or by the caller. -
Uses of Expression in org.eclipse.epsilon.eol.parse
Methods in org.eclipse.epsilon.eol.parse with parameters of type Expression