public class IterateOverChildren extends ExtendOperation<org.eclipse.emf.ecore.EObject>
Constructor and Description |
---|
IterateOverChildren(int position,
int sourcePosition,
boolean transitive) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Integer> |
getVariablePositions() |
void |
onInitialize(MatchingFrame frame,
ISearchContext context)
During the execution of the corresponding plan, the onInitialize callback is evaluated before the execution of
the operation may begin.
|
java.lang.String |
toString() |
execute, onBacktrack
public IterateOverChildren(int position, int sourcePosition, boolean transitive)
position
- the position of the variable storing the child elementssourcePosition
- the position of the variable storing the parent root; must be boundtransitive
- if true, child elements are iterated over transitivelypublic void onInitialize(MatchingFrame frame, ISearchContext context)
ISearchOperation
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<java.lang.Integer> getVariablePositions()