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 void
addForeach(ExecutionContextForeach value)
void
addIf(ExecutionContextIf context)
void
addWhile(ExecutionContextWhile value)
boolean
areAllIfOk(TContext context, TMemory memory)
void
dumpDebug(java.lang.String message)
TMemory
forkFromGlobal(java.util.Map<java.lang.String,TValue> input)
TValue
getVariable(java.lang.String varname)
boolean
isEmpty()
ExecutionContextForeach
peekForeach()
ExecutionContextIf
peekIf()
ExecutionContextWhile
peekWhile()
ExecutionContextForeach
pollForeach()
ExecutionContextIf
pollIf()
ExecutionContextWhile
pollWhile()
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()
-
-
-
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)
-
-