public class TMemoryGlobal extends ExecutionContexts implements TMemory
Constructor and Description |
---|
TMemoryGlobal() |
Modifier and Type | Method and 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() |
addForeach, addIf, addWhile, areAllIfOk, peekForeach, peekIf, peekWhile, pollForeach, pollIf, pollWhile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addForeach, addIf, addWhile, areAllIfOk, peekForeach, peekIf, peekWhile, pollForeach, pollIf, pollWhile
public TValue getVariable(java.lang.String varname)
getVariable
in interface TMemory
public void dumpDebug(java.lang.String message)
public void putVariable(java.lang.String varname, TValue value, TVariableScope scope) throws EaterException
putVariable
in interface TMemory
EaterException
public void removeVariable(java.lang.String varname)
removeVariable
in interface TMemory
public java.util.Set<java.lang.String> variablesNames()
variablesNames
in interface TMemory
public Trie variablesNames3()
variablesNames3
in interface TMemory
public TMemory forkFromGlobal(java.util.Map<java.lang.String,TValue> input)
forkFromGlobal
in interface TMemory
Copyright © 2020. All Rights Reserved.