| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.python.core.PyObjectorg.python.core.PyCodeorg.python.core.PyTableCodepublic class PyTableCodeextends PyCodeNested Class Summary |
Nested classes/interfaces inherited from class org.python.core.PyObject | |
PyObject.ConversionException | |
Field Summary | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
boolean | |
int | |
String[] | |
String | |
int | |
int | |
String[] | |
int | |
String[] | |
int | |
boolean | |
Fields inherited from class org.python.core.PyObject | |
exposed_name | |
Constructor Summary | |
| |
| |
Method Summary | |
void |
|
PyObject |
|
PyObject |
|
void |
|
PyObject | |
PyObject | |
PyObject | |
PyObject | |
PyObject | |
PyObject | |
PyObject | |
boolean | |
String |
|
public static final int CO_ALL_FEATURES
- Field Value:
- 12304
public static final int CO_FUTUREDIVISION
- Field Value:
- 8192
public static final int CO_GENERATOR
- Field Value:
- 32
public static final int CO_GENERATOR_ALLOWED
- Field Value:
- 4096
public static final int CO_NESTED
- Field Value:
- 16
public static final int CO_OPTIMIZED
- Field Value:
- 1
public static final int CO_VARARGS
- Field Value:
- 4
public static final int CO_VARKEYWORDS
- Field Value:
- 8
public boolean args
public int co_argcount
public String[] co_cellvars
public String co_filename
public int co_firstlineno
public int co_flags
public String[] co_freevars
public int co_nlocals
public String[] co_varnames
public int jy_npurecell
public boolean keywords
public PyTableCode(int argcount,
varnames[] ,
String filename,
String name,
int firstlineno,
boolean args,
boolean keywords,
PyFunctionTable funcs,
int func_id)public PyTableCode(int argcount,
varnames[] ,
String filename,
String name,
int firstlineno,
boolean args,
boolean keywords,
PyFunctionTable funcs,
int func_id,
String[] cellvars,
String[] freevars,
int npurecell,
int moreflags)public void __delattr__(String name)
A variant of the __delattr__ method which accepts a String as the key. This String must be interned. By default, this will call__delattr__(PyString name)with the appropriate args. The only reason to override this method is for performance.
- Overrides:
- __delattr__ in interface PyObject
- Parameters:
name- the name which will be removed - must be an interned string .
- See Also:
PyObject.__delattr__(PyString)
public PyObject __dir__()
Equivalent to the standard Python __dir__ method.
- Returns:
- a list of names defined by this object.
public PyObject __findattr__(String name)
A variant of the __findattr__ method which accepts a JavaStringas the name. Warning: name must be an interned string!
- Overrides:
- __findattr__ in interface PyObject
- Parameters:
name- the name to lookup in this namespace must be an interned string .
- Returns:
- the value corresponding to name or null if name is not found
- See Also:
PyObject.__findattr__(PyString)
public void __setattr__(String name,
PyObject value)A variant of the __setattr__ method which accepts a String as the key. This String must be interned.
- Overrides:
- __setattr__ in interface PyObject
- Parameters:
name- the name whose value will be set - must be an interned string .value- the value to set this name to
public PyObject call(call_args[] , call_keywords[] , PyObject globals, PyObject[] defaults, PyObject closure)
public PyObject call(PyObject self, call_args[] , call_keywords[] , PyObject globals, PyObject[] defaults, PyObject closure)
public PyObject call(PyObject arg1, PyObject arg2, PyObject arg3, PyObject globals, PyObject[] defaults, PyObject closure)
public PyObject call(PyObject arg1, PyObject arg2, PyObject globals, PyObject[] defaults, PyObject closure)
public boolean hasFreevars()