|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.python.core.PyObject
org.python.core.PyCode
org.python.core.PyBaseCode
org.python.core.PyTableCode
public class PyTableCode
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.python.core.PyObject |
|---|
PyObject.ConversionException |
| Field Summary | |
|---|---|
String |
co_code
|
| Fields inherited from class org.python.core.PyBaseCode |
|---|
co_argcount, co_cellvars, co_filename, co_firstlineno, co_flags, co_freevars, co_nlocals, co_varnames, jy_npurecell, varargs, varkwargs |
| Fields inherited from class org.python.core.PyCode |
|---|
co_name |
| Fields inherited from class org.python.core.PyObject |
|---|
TYPE |
| Constructor Summary | |
|---|---|
PyTableCode(int argcount,
String[] varnames,
String filename,
String name,
int firstlineno,
boolean varargs,
boolean varkwargs,
PyFunctionTable funcs,
int func_id)
|
|
PyTableCode(int argcount,
String[] varnames,
String filename,
String name,
int firstlineno,
boolean varargs,
boolean varkwargs,
PyFunctionTable funcs,
int func_id,
String[] cellvars,
String[] freevars,
int npurecell,
int moreflags)
|
|
| Method Summary | |
|---|---|
void |
__delattr__(String name)
A variant of the __delattr__ method which accepts a String as the key. |
PyObject |
__dir__()
Equivalent to the standard Python __dir__ method. |
PyObject |
__findattr_ex__(String name)
Attribute lookup hook. |
void |
__setattr__(String name,
PyObject value)
A variant of the __setattr__ method which accepts a String as the key. |
PyObject |
call(ThreadState ts,
PyFrame frame,
PyObject closure)
|
| Methods inherited from class org.python.core.PyBaseCode |
|---|
call, call, call, call, call, call, call, getCompilerFlags, hasFreevars, toString |
| Methods inherited from class org.python.core.PyCode |
|---|
call, call |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String co_code
| Constructor Detail |
|---|
public PyTableCode(int argcount,
String[] varnames,
String filename,
String name,
int firstlineno,
boolean varargs,
boolean varkwargs,
PyFunctionTable funcs,
int func_id)
public PyTableCode(int argcount,
String[] varnames,
String filename,
String name,
int firstlineno,
boolean varargs,
boolean varkwargs,
PyFunctionTable funcs,
int func_id,
String[] cellvars,
String[] freevars,
int npurecell,
int moreflags)
| Method Detail |
|---|
public PyObject __dir__()
PyObject
__dir__ in class PyObject
public void __setattr__(String name,
PyObject value)
PyObject
__setattr__ in class PyObjectname - the name whose value will be set -
must be an interned string .value - the value to set this name toPyObject.__setattr__(PyString, PyObject)public void __delattr__(String name)
PyObject__delattr__(PyString name)
with the appropriate args.
The only reason to override this method is for performance.
__delattr__ in class PyObjectname - the name which will be removed -
must be an interned string .PyObject.__delattr__(PyString)public PyObject __findattr_ex__(String name)
PyObjectPyObject.__getattr__(String) or
PyObject.__findattr__(String). Both methods have a clear policy for
failed lookups.
__findattr_ex__ in class PyObject
public PyObject call(ThreadState ts,
PyFrame frame,
PyObject closure)
call in class PyBaseCode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||