| Modifier and Type | Field and Description |
|---|---|
| private int | |
| public PyFrame | f_back
Previous frame or null. |
| public PyObject | f_builtins
builtin symbol table. |
| public PyBaseCode | f_code
The underyling code object. |
| public PyCell[] | f_env
Nested scopes: cell + free env. |
| public PyObject[] | f_exits
with context exits - used by generated bytecode |
| public PyObject[] | |
| public PyObject | f_globals
Global symbol table. |
| public int | |
| public int | f_lineno
Current line number. |
| public PyObject | f_locals
Local symbol table. |
| public int | |
| public int | |
| public Object[] | |
| private Object | |
| private static final String | |
| private static final String | |
| public TraceFunction | tracefunc
An interface to functions suitable for tracing, e.g. via sys.settrace(). |
| public static final PyType | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public void | |
| public void | |
| public void | |
| public void | |
| private PyObject | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public Object | |
| public PyObject | |
| public int | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| public void | |
| pack-priv void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| pack-priv void | |
| public void | |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| env_j | back to summary |
|---|---|
| private int env_j | |
| f_back | back to summary |
|---|---|
| public PyFrame f_back Previous frame or null. | |
| f_builtins | back to summary |
|---|---|
| public PyObject f_builtins builtin symbol table. | |
| f_code | back to summary |
|---|---|
| public PyBaseCode f_code The underyling code object. | |
| f_env | back to summary |
|---|---|
| public PyCell[] f_env Nested scopes: cell + free env. | |
| f_exits | back to summary |
|---|---|
| public PyObject[] f_exits with context exits - used by generated bytecode | |
| f_fastlocals | back to summary |
|---|---|
| public PyObject[] f_fastlocals | |
| f_globals | back to summary |
|---|---|
| public PyObject f_globals Global symbol table. | |
| f_lasti | back to summary |
|---|---|
| public int f_lasti
| |
| f_lineno | back to summary |
|---|---|
| public int f_lineno Current line number. | |
| f_locals | back to summary |
|---|---|
| public PyObject f_locals Local symbol table. | |
| f_ncells | back to summary |
|---|---|
| public int f_ncells | |
| f_nfreevars | back to summary |
|---|---|
| public int f_nfreevars | |
| f_savedlocals | back to summary |
|---|---|
| public Object[] f_savedlocals | |
| generatorInput | back to summary |
|---|---|
| private Object generatorInput | |
| GLOBAL_NAME_ERROR_MSG | back to summary |
|---|---|
| private static final String GLOBAL_NAME_ERROR_MSG | |
| NAME_ERROR_MSG | back to summary |
|---|---|
| private static final String NAME_ERROR_MSG | |
| tracefunc | back to summary |
|---|---|
| public TraceFunction tracefunc An interface to functions suitable for tracing, e.g. via sys.settrace(). | |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| UNBOUNDLOCAL_ERROR_MSG | back to summary |
|---|---|
| private static final String UNBOUNDLOCAL_ERROR_MSG | |
| PyFrame | back to summary |
|---|---|
| public PyFrame(PyBaseCode code, PyObject locals, PyObject globals, PyObject builtins) | |
| PyFrame | back to summary |
|---|---|
| public PyFrame(PyBaseCode code, PyObject globals) | |
| checkGeneratorInput | back to summary |
|---|---|
| public Object checkGeneratorInput() | |
| delglobal | back to summary |
|---|---|
| public void delglobal(String index) | |
| dellocal | back to summary |
|---|---|
| public void dellocal(int index) | |
| dellocal | back to summary |
|---|---|
| public void dellocal(String index) | |
| delTrace | back to summary |
|---|---|
public void delTrace()
| |
| doGetglobal | back to summary |
|---|---|
| private PyObject doGetglobal(String index) | |
| getclosure | back to summary |
|---|---|
| public PyObject getclosure(int index) | |
| getderef | back to summary |
|---|---|
| public PyObject getderef(int index) | |
| getf_locals | back to summary |
|---|---|
| public PyObject getf_locals() Return the current f_locals dict.
| |
| getGeneratorInput | back to summary |
|---|---|
| public Object getGeneratorInput() | |
| getglobal | back to summary |
|---|---|
| public PyObject getglobal(String index) | |
| getline | back to summary |
|---|---|
public int getline()
| |
| getlocal | back to summary |
|---|---|
| public PyObject getlocal(int index) | |
| getLocals | back to summary |
|---|---|
| public PyObject getLocals() Return the locals dict. First merges the fast locals into f_locals, then returns the updated f_locals.
| |
| getname | back to summary |
|---|---|
| public PyObject getname(String index) | |
| getTrace | back to summary |
|---|---|
public PyObject getTrace()
| |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) throws UnsupportedOperationException Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| setderef | back to summary |
|---|---|
| public void setderef(int index, PyObject value) | |
| setGeneratorInput | back to summary |
|---|---|
| pack-priv void setGeneratorInput(Object value) | |
| setglobal | back to summary |
|---|---|
| public void setglobal(String index, PyObject value) | |
| setline | back to summary |
|---|---|
| public void setline(int line) Track the current line number. Called by generated code. This is not to be confused with the CPython method frame_setlineno() which causes the interpreter to jump to the given line. | |
| setlocal | back to summary |
|---|---|
| public void setlocal(int index, PyObject value) | |
| setlocal | back to summary |
|---|---|
| public void setlocal(String index, PyObject value) | |
| setTrace | back to summary |
|---|---|
public void setTrace(PyObject trace)
| |
| setupEnv | back to summary |
|---|---|
| pack-priv void setupEnv(PyTuple freevars) Populate the frame with closure variables, but at most once.
| |
| to_cell | back to summary |
|---|---|
| public void to_cell(int parm_index, int env_index) | |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Implements org. Doc from org. Traverses all directly contained
| |