Constructor and Description |
---|
JythonFrame(org.python.core.PyObject frame)
Constructor only stores parameters to member.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public JythonFrame(org.python.core.PyObject frame)
frame
- IPyFrame
in Python form.public String getFilename()
IPyFrame
Must NOT return null
.
getFilename
in interface IPyFrame
public int getLineNumber()
IPyFrame
getLineNumber
in interface IPyFrame