public class LoopExpStepper extends CallExpStepper
Modifier and Type | Field and Description |
---|---|
static LoopExpStepper |
INSTANCE |
Constructor and Description |
---|
LoopExpStepper() |
Modifier and Type | Method and Description |
---|---|
Element |
isPostStoppable(VMEvaluationStepper vmEvaluationVisitor,
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.
|
getFirstElement
createUnitLocation, createUnitLocation, getCsElement, getFirstElement
@NonNull public static LoopExpStepper INSTANCE
@Nullable public Element isPostStoppable(@NonNull VMEvaluationStepper vmEvaluationVisitor, @NonNull Element childElement, @Nullable java.lang.Object result)
IStepper
isPostStoppable
in interface IStepper
isPostStoppable
in class AbstractStepper
public boolean isPreStoppable(@NonNull VMEvaluationStepper rootVMEvaluationVisitor, @NonNull Element element)
IStepper
isPreStoppable
in interface IStepper
isPreStoppable
in class AbstractStepper