Package net.sourceforge.plantuml.tim
Interface TMemory
-
- All Known Implementing Classes:
TMemoryGlobal,TMemoryLocal
public interface TMemory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddForeach(ExecutionContextForeach value)voidaddIf(ExecutionContextIf context)voidaddWhile(ExecutionContextWhile value)booleanareAllIfOk(TContext context, TMemory memory)voiddumpDebug(java.lang.String message)TMemoryforkFromGlobal(java.util.Map<java.lang.String,TValue> input)TValuegetVariable(java.lang.String varname)booleanisEmpty()ExecutionContextForeachpeekForeach()ExecutionContextIfpeekIf()ExecutionContextWhilepeekWhile()ExecutionContextForeachpollForeach()ExecutionContextIfpollIf()ExecutionContextWhilepollWhile()voidputVariable(java.lang.String varname, TValue value, TVariableScope scope)voidremoveVariable(java.lang.String varname)java.util.Set<java.lang.String>variablesNames()TrievariablesNames3()
-
-
-
Method Detail
-
getVariable
TValue getVariable(java.lang.String varname)
-
putVariable
void putVariable(java.lang.String varname, TValue value, TVariableScope scope) throws EaterException- Throws:
EaterException
-
removeVariable
void removeVariable(java.lang.String varname)
-
isEmpty
boolean isEmpty()
-
variablesNames
java.util.Set<java.lang.String> variablesNames()
-
variablesNames3
Trie variablesNames3()
-
peekIf
ExecutionContextIf peekIf()
-
areAllIfOk
boolean areAllIfOk(TContext context, TMemory memory) throws EaterException
- Throws:
EaterException
-
addIf
void addIf(ExecutionContextIf context)
-
addWhile
void addWhile(ExecutionContextWhile value)
-
addForeach
void addForeach(ExecutionContextForeach value)
-
pollIf
ExecutionContextIf pollIf()
-
pollWhile
ExecutionContextWhile pollWhile()
-
peekWhile
ExecutionContextWhile peekWhile()
-
pollForeach
ExecutionContextForeach pollForeach()
-
peekForeach
ExecutionContextForeach peekForeach()
-
dumpDebug
void dumpDebug(java.lang.String message)
-
-