Package coneforest.psylla
Class DictStack
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<PsyFormalDict<PsyObject>>
,Collection<PsyFormalDict<PsyObject>>
,List<PsyFormalDict<PsyObject>>
,RandomAccess
An interpreter’s dictionary stack.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new dictionary stack with two dictionaries in it (system and user dictionaries). -
Method Summary
Modifier and TypeMethodDescriptionvoid
begin
(PsyFormalDict oDict) clone()
void
end()
<T extends PsyObject>
Tload
(PsyTextual oKey) <T extends PsyObject>
Tvoid
psyStore
(PsyTextual oKey, PsyObject oValue) void
where
(PsyTextual oKey) Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
Constructor Details
-
DictStack
Creates a new dictionary stack with two dictionaries in it (system and user dictionaries).- Throws:
PsyErrorException
- when the error occurs.
-
-
Method Details
-
clone
- Overrides:
clone
in classArrayList<PsyFormalDict<PsyObject>>
-
load
- Throws:
PsyErrorException
-
load
- Throws:
PsyErrorException
-
where
-
where
-
currentNamespace
-
store
-
psyStore
-
begin
-
end
- Throws:
PsyDictStackUnderflowException
-