org.globus.cog.karajan.stack
Interface VariableStack
- All Known Implementing Classes:
- FastStack, LinkedStack
public interface VariableStack
enter
void enter()
leave
void leave()
frameCount
int frameCount()
isDefined
boolean isDefined(String varName)
getVar
Object getVar(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
getDeepVar
Object getDeepVar(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
getShallowVar
Object getShallowVar(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
getVarFromFrame
Object getVarFromFrame(String name,
int skipCount)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
getAllVars
List getAllVars(String name)
getVarAsString
String getVarAsString(String varName)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
currentFrame
StackFrame currentFrame()
parentFrame
StackFrame parentFrame()
firstFrame
StackFrame firstFrame()
getFrame
StackFrame getFrame(int frame)
setVar
void setVar(String name,
Object value)
exportVar
void exportVar(String name)
copy
VariableStack copy()
toString
String toString()
- Overrides:
toString
in class Object
dumpAll
void dumpAll()
setVar
void setVar(String name,
int value)
getIntVar
int getIntVar(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
setVar
void setVar(String name,
boolean value)
getBooleanVar
boolean getBooleanVar(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
setBarrier
void setBarrier()
setGlobal
void setGlobal(String name,
Object value)
getGlobal
Object getGlobal(String name)
newInstance
VariableStack newInstance()
getRegs
Regs getRegs()
getExecutionContext
ExecutionContext getExecutionContext()