| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private abstract static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | |
| public boolean | |
| public static ContextManager | |
| public static PyObject |
| __enter__method | back to summary |
|---|---|
| private final PyObject __enter__method | |
| __exit__method | back to summary |
|---|---|
| private final PyObject __exit__method | |
| ContextGuard | back to summary |
|---|---|
| private ContextGuard(PyObject manager) | |
| __enter__ | back to summary |
|---|---|
| public PyObject __enter__(ThreadState ts) Implements org. | |
| __exit__ | back to summary |
|---|---|
| public boolean __exit__(ThreadState ts, PyException exception) Implements org. | |
| getManager | back to summary |
|---|---|
| public static ContextManager getManager(PyObject manager) | |
| makeManager | back to summary |
|---|---|
| public static PyObject makeManager(PyObject object) | |
| Modifier and Type | Field and Description |
|---|---|
| private final PyBaseCode |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | call(ThreadState ts, PyFrame frame, final PyObject closure)
Overrides org.
|
| protected PyObject | |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| code | back to summary |
|---|---|
| private final PyBaseCode code | |
| ContextCode | back to summary |
|---|---|
| pack-priv ContextCode(PyBaseCode code) | |
| call | back to summary |
|---|---|
| public PyObject call(ThreadState ts, PyFrame frame, final PyObject closure) Overrides org.
| |
| interpret | back to summary |
|---|---|
| protected PyObject interpret(PyFrame frame, ThreadState ts) Implements abstract org.
| |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Implements org. Doc from org. Traverses all directly contained
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final PyFrame |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | |
| public boolean | |
| pack-priv abstract PyObject | |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| frame | back to summary |
|---|---|
| pack-priv final PyFrame frame | |
| GeneratorContextManager | back to summary |
|---|---|
| public GeneratorContextManager(PyFrame frame) | |
| __enter__ | back to summary |
|---|---|
| public PyObject __enter__(ThreadState ts) Implements org. | |
| __exit__ | back to summary |
|---|---|
| public boolean __exit__(ThreadState ts, PyException exception) Implements org. | |
| body | back to summary |
|---|---|
| pack-priv abstract PyObject body(ThreadState ts) | |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Implements org. Doc from org. Traverses all directly contained
| |