Package net.sourceforge.plantuml.tim
Class TMemoryGlobal
- java.lang.Object
-
- net.sourceforge.plantuml.tim.ExecutionContexts
-
- net.sourceforge.plantuml.tim.TMemoryGlobal
-
- All Implemented Interfaces:
TMemory
public class TMemoryGlobal extends ExecutionContexts implements TMemory
-
-
Constructor Summary
Constructors Constructor Description TMemoryGlobal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dumpDebug(java.lang.String message)
TMemory
forkFromGlobal(java.util.Map<java.lang.String,TValue> input)
TValue
getVariable(java.lang.String varname)
boolean
isEmpty()
void
putVariable(java.lang.String varname, TValue value, TVariableScope scope)
void
removeVariable(java.lang.String varname)
java.util.Set<java.lang.String>
variablesNames()
Trie
variablesNames3()
-
Methods inherited from class net.sourceforge.plantuml.tim.ExecutionContexts
addForeach, addIf, addWhile, areAllIfOk, peekForeach, peekIf, peekWhile, pollForeach, pollIf, pollWhile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.tim.TMemory
addForeach, addIf, addWhile, areAllIfOk, peekForeach, peekIf, peekWhile, pollForeach, pollIf, pollWhile
-
-
-
-
Method Detail
-
getVariable
public TValue getVariable(java.lang.String varname)
- Specified by:
getVariable
in interfaceTMemory
-
dumpDebug
public void dumpDebug(java.lang.String message)
-
putVariable
public void putVariable(java.lang.String varname, TValue value, TVariableScope scope) throws EaterException
- Specified by:
putVariable
in interfaceTMemory
- Throws:
EaterException
-
removeVariable
public void removeVariable(java.lang.String varname)
- Specified by:
removeVariable
in interfaceTMemory
-
variablesNames
public java.util.Set<java.lang.String> variablesNames()
- Specified by:
variablesNames
in interfaceTMemory
-
variablesNames3
public Trie variablesNames3()
- Specified by:
variablesNames3
in interfaceTMemory
-
forkFromGlobal
public TMemory forkFromGlobal(java.util.Map<java.lang.String,TValue> input)
- Specified by:
forkFromGlobal
in interfaceTMemory
-
-