public interface IPyFrame
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilename()
Returns the filename of the current frame.
|
int |
getLineNumber()
Returns the linenumber of the current frame.
|
IPyFrame |
getParent()
Returns the parent frame in the call stack.
|
java.lang.Object |
getVariable(java.lang.String name)
Get a variable from the current frame.
|
java.util.Map<java.lang.String,java.lang.Object> |
getVariables()
Get variables visible from current frame.
|
void |
setVariable(java.lang.String name,
java.lang.Object value)
Set the content of a variable to a given value.
|
java.lang.String getFilename()
Must NOT return null.
int getLineNumber()
IPyFrame getParent()
If the current frame is the root, null should be returned.
nulljava.lang.Object getVariable(java.lang.String name)
name - variable name to look upnulljava.util.Map<java.lang.String,java.lang.Object> getVariables()
void setVariable(java.lang.String name,
java.lang.Object value)
name - name of variable to setvalue - value to set to