Package net.sourceforge.plantuml.tim
Class TMemoryLocal
- java.lang.Object
-
- net.sourceforge.plantuml.tim.ExecutionContexts
-
- net.sourceforge.plantuml.tim.TMemoryLocal
-
- All Implemented Interfaces:
TMemory
public class TMemoryLocal extends ExecutionContexts implements TMemory
-
-
Constructor Summary
Constructors Constructor Description TMemoryLocal(TMemoryGlobal global, Map<String,TValue> input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dumpDebug(String message)
TMemory
forkFromGlobal(Map<String,TValue> input)
TValue
getVariable(String varname)
boolean
isEmpty()
void
putVariable(String varname, TValue value, TVariableScope scope)
void
removeVariable(String varname)
Set<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
-
-
-
-
Constructor Detail
-
TMemoryLocal
public TMemoryLocal(TMemoryGlobal global, Map<String,TValue> input)
-
-
Method Detail
-
putVariable
public void putVariable(String varname, TValue value, TVariableScope scope) throws EaterException
- Specified by:
putVariable
in interfaceTMemory
- Throws:
EaterException
-
removeVariable
public void removeVariable(String varname)
- Specified by:
removeVariable
in interfaceTMemory
-
getVariable
public TValue getVariable(String varname)
- Specified by:
getVariable
in interfaceTMemory
-
variablesNames3
public Trie variablesNames3()
- Specified by:
variablesNames3
in interfaceTMemory
-
variablesNames
public Set<String> variablesNames()
- Specified by:
variablesNames
in interfaceTMemory
-
-