Class ExecutionStack
java.lang.Object
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<PsyObject>, Collection<PsyObject>, List<PsyObject>, RandomAccess, SequencedCollection<PsyObject>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
Constructor Details
-
ExecutionStack
public ExecutionStack()Constructs an empty stack.
-
-
Method Details
-
enterLoop
public void enterLoop()Enters the loop environment. Pushes the loop mark onto this stack. -
checkLoop
public boolean checkLoop() -
exitLoop
Exits the innermost loop environment. Pops all the elements from this stack upto the first loop mark.- Throws:
PsyInvalidExitException- when there is not loop mark on this stack.
-
enterStop
public void enterStop()Enters the stopped environment. Pushes the stop mark onto this stack. -
checkStop
public boolean checkStop() -
exitStop
public void exitStop() -
clone
-