Class StateflowSelectOperation
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.AbstractOperation
-
- org.eclipse.epsilon.eol.execute.operations.declarative.FirstOrderOperation
-
- org.eclipse.epsilon.eol.execute.operations.declarative.SelectOperation
-
- org.eclipse.epsilon.emc.simulink.operations.StateflowSelectOperation
-
public class StateflowSelectOperation extends SelectOperation
-
-
Field Summary
Fields Modifier and Type Field Description protected MatlabEngine
engine
-
Constructor Summary
Constructors Constructor Description StateflowSelectOperation(MatlabEngine engine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<?>
execute(boolean returnOnMatch, Object target, NameExpression operationNameExpression, List<Parameter> iterators, Expression expression, IEolContext context)
protected String
expression(Expression exp)
protected String
expression(Expression exp1, Expression exp2)
protected String
processValue(Expression operand)
protected String
processValue(Expression operand, String prepend, String append)
TODO check and handle elements of type simulinkmodel element-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.declarative.SelectOperation
execute, execute
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.declarative.FirstOrderOperation
createIteratorVariable, execute, resolve, resolveFunction, resolvePredicate, resolveSource
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.AbstractOperation
isOverridable, toString
-
-
-
-
Field Detail
-
engine
protected MatlabEngine engine
-
-
Constructor Detail
-
StateflowSelectOperation
public StateflowSelectOperation(MatlabEngine engine)
-
-
Method Detail
-
execute
public Collection<?> execute(boolean returnOnMatch, Object target, NameExpression operationNameExpression, List<Parameter> iterators, Expression expression, IEolContext context) throws EolRuntimeException
- Overrides:
execute
in classSelectOperation
- Returns:
- Throws:
EolRuntimeException
-
expression
protected String expression(Expression exp) throws Exception
- Throws:
Exception
-
processValue
protected String processValue(Expression operand) throws Exception
- Throws:
Exception
-
processValue
protected String processValue(Expression operand, String prepend, String append) throws Exception
TODO check and handle elements of type simulinkmodel element- Throws:
Exception
-
expression
protected String expression(Expression exp1, Expression exp2) throws Exception
- Throws:
Exception
-
-