public abstract class AbstractStepper extends java.lang.Object implements IStepper
Constructor and Description |
---|
AbstractStepper() |
Modifier and Type | Method and Description |
---|---|
UnitLocation |
createUnitLocation(VMEvaluationEnvironment evalEnv,
Element element)
Return the source descriptor for element.
|
static UnitLocation |
createUnitLocation(VMEvaluationEnvironment evalEnv,
Element element,
org.eclipse.xtext.nodemodel.INode startNode,
org.eclipse.xtext.nodemodel.INode endNode)
Deprecated.
|
protected ModelElementCS |
getCsElement(Element asElement)
Return the CS element for asElement if it exists, or the nearest ancestor of asElement otherwise.
|
Element |
getFirstElement(Element element) |
Element |
getFirstElement(VMEvaluationStepper vmEvaluationVisitor,
Element element) |
Element |
isPostStoppable(VMEvaluationStepper rootVMEvaluationVisitor,
Element childElement,
java.lang.Object result)
Return null if no suspension is required after execution of childElement gave result, else return the next element to be executed.
|
boolean |
isPreStoppable(VMEvaluationStepper rootVMEvaluationVisitor,
Element element)
Return true if execution may be suspended before executing element.
|
@Deprecated @NonNull public static UnitLocation createUnitLocation(@NonNull VMEvaluationEnvironment evalEnv, @NonNull Element element, @Nullable org.eclipse.xtext.nodemodel.INode startNode, @Nullable org.eclipse.xtext.nodemodel.INode endNode)
@NonNull public UnitLocation createUnitLocation(@NonNull VMEvaluationEnvironment evalEnv, @NonNull Element element)
IStepper
createUnitLocation
in interface IStepper
@Nullable protected ModelElementCS getCsElement(@NonNull Element asElement)
@Nullable public Element getFirstElement(@NonNull VMEvaluationStepper vmEvaluationVisitor, @Nullable Element element)
getFirstElement
in interface IStepper
@Nullable public Element isPostStoppable(@NonNull VMEvaluationStepper rootVMEvaluationVisitor, @NonNull Element childElement, @Nullable java.lang.Object result)
IStepper
isPostStoppable
in interface IStepper
public boolean isPreStoppable(@NonNull VMEvaluationStepper rootVMEvaluationVisitor, @NonNull Element element)
IStepper
isPreStoppable
in interface IStepper