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 java.util.Collection<?>
execute(boolean returnOnMatch, java.lang.Object target, NameExpression operationNameExpression, java.util.List<Parameter> iterators, Expression expression, IEolContext context)
protected java.lang.String
expression(Expression exp)
protected java.lang.String
expression(Expression exp1, Expression exp2)
protected java.lang.String
processValue(Expression operand)
protected java.lang.String
processValue(Expression operand, java.lang.String prepend, java.lang.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 java.util.Collection<?> execute(boolean returnOnMatch, java.lang.Object target, NameExpression operationNameExpression, java.util.List<Parameter> iterators, Expression expression, IEolContext context) throws EolRuntimeException
- Overrides:
execute
in classSelectOperation
- Returns:
- Throws:
EolRuntimeException
-
expression
protected java.lang.String expression(Expression exp) throws java.lang.Exception
- Throws:
java.lang.Exception
-
processValue
protected java.lang.String processValue(Expression operand) throws java.lang.Exception
- Throws:
java.lang.Exception
-
processValue
protected java.lang.String processValue(Expression operand, java.lang.String prepend, java.lang.String append) throws java.lang.Exception
TODO check and handle elements of type simulinkmodel element- Throws:
java.lang.Exception
-
expression
protected java.lang.String expression(Expression exp1, Expression exp2) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-