Class DynamicOperation
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.AbstractOperation
-
- org.eclipse.epsilon.eol.execute.operations.DynamicOperation
-
public class DynamicOperation extends AbstractOperation
Provides a bridge between EOL first-order syntax and Java lambdas (i.e. FunctionalInterfaces).- Since:
- 1.6
- Author:
- Sina Madani
-
-
Constructor Summary
Constructors Constructor Description DynamicOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
execute(java.lang.Object target, NameExpression operationNameExpression, java.util.LinkedHashMap<Expression,java.util.List<Parameter>> lambdas, IEolContext context)
java.lang.Object
execute(java.lang.Object target, NameExpression operationNameExpression, java.util.List<Parameter> iterators, java.util.List<Expression> expressions, IEolContext context)
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.AbstractOperation
isOverridable, toString
-
-
-
-
Method Detail
-
execute
public java.lang.Object execute(java.lang.Object target, NameExpression operationNameExpression, java.util.List<Parameter> iterators, java.util.List<Expression> expressions, IEolContext context) throws EolRuntimeException
- Specified by:
execute
in classAbstractOperation
- Throws:
EolRuntimeException
-
execute
public java.lang.Object execute(java.lang.Object target, NameExpression operationNameExpression, java.util.LinkedHashMap<Expression,java.util.List<Parameter>> lambdas, IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
-