|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--simkin.StackFrame
This class stores information about the where the current script is executing.
This class is used internally by the Interpreter, you do not normally need to use it.
| Constructor Summary | |
StackFrame(java.lang.String location,
java.lang.Object obj,
java.util.Hashtable vars,
ExecutableContext ctxt)
Constructor |
|
| Method Summary | |
ExecutableContext |
getContext()
returns the context within which the stack frame is executing |
int |
getLineNum()
returns the current line number |
java.lang.String |
getLocation()
returns the location of the code being executed in this stack frame |
java.lang.Object |
getObject()
returns the object owning the stack frame |
StackFrame |
getParentFrame()
returns the parent frame of this one |
java.util.Hashtable |
getVars()
returns the local variables for this stack frame |
void |
setLineNum(int line_num)
updates the line number for the frame |
void |
setParentFrame(StackFrame frame)
sets the parent frame of this frame |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StackFrame(java.lang.String location,
java.lang.Object obj,
java.util.Hashtable vars,
ExecutableContext ctxt)
location - the name of the source fileobj - the object owning the scriptvars - the local variables at this part of the scriptctxt - the current ExecutableContext| Method Detail |
public void setLineNum(int line_num)
line_num - the new line numberpublic int getLineNum()
public java.lang.String getLocation()
public ExecutableContext getContext()
public java.lang.Object getObject()
public java.util.Hashtable getVars()
public StackFrame getParentFrame()
public void setParentFrame(StackFrame frame)
frame - set the parent stack frame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||