|
Orbits
1
|
Go to the source code of this file.
Classes | |
| struct | symtable |
| struct | _symtable_entry |
Macros | |
| #define | PySTEntry_Check(op) (Py_TYPE(op) == &PySTEntry_Type) |
| #define | DEF_GLOBAL 1 /* global stmt */ |
| #define | DEF_LOCAL 2 /* assignment in code block */ |
| #define | DEF_PARAM 2<<1 /* formal parameter */ |
| #define | USE 2<<2 /* name is used */ |
| #define | DEF_FREE 2<<3 /* name used but not defined in nested block */ |
| #define | DEF_FREE_CLASS 2<<4 /* free variable from class's method */ |
| #define | DEF_IMPORT 2<<5 /* assignment occurred via import */ |
| #define | DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT) |
| #define | SCOPE_OFF 11 |
| #define | SCOPE_MASK 7 |
| #define | LOCAL 1 |
| #define | GLOBAL_EXPLICIT 2 |
| #define | GLOBAL_IMPLICIT 3 |
| #define | FREE 4 |
| #define | CELL 5 |
| #define | OPT_IMPORT_STAR 1 |
| #define | OPT_EXEC 2 |
| #define | OPT_BARE_EXEC 4 |
| #define | OPT_TOPLEVEL 8 /* top-level names, including eval and exec */ |
| #define | GENERATOR 1 |
| #define | GENERATOR_EXPRESSION 2 |
Typedefs | |
| typedef enum _block_type | _Py_block_ty |
| typedef struct _symtable_entry | PySTEntryObject |
Enumerations | |
| enum | _block_type { FunctionBlock, ClassBlock, ModuleBlock } |
Functions | |
| PyAPI_DATA (PyTypeObject) PySTEntry_Type | |
| PyAPI_FUNC (int) PyST_GetScope(PySTEntryObject * | |
| PyObject * | PyAPI_FUNC (struct symtable *) PySymtable_Build(mod_ty |
| PyObject const char PyFutureFeatures * | PyAPI_FUNC (PySTEntryObject *) PySymtable_Lookup(struct symtable * |
| PyObject const char PyFutureFeatures void * | PyAPI_FUNC (void) PySymtable_Free(struct symtable *) |
| #define CELL 5 |
| #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT) |
| #define DEF_FREE 2<<3 /* name used but not defined in nested block */ |
| #define DEF_FREE_CLASS 2<<4 /* free variable from class's method */ |
| #define DEF_GLOBAL 1 /* global stmt */ |
| #define DEF_IMPORT 2<<5 /* assignment occurred via import */ |
| #define DEF_LOCAL 2 /* assignment in code block */ |
| #define DEF_PARAM 2<<1 /* formal parameter */ |
| #define FREE 4 |
| #define GENERATOR 1 |
| #define GENERATOR_EXPRESSION 2 |
| #define GLOBAL_EXPLICIT 2 |
| #define GLOBAL_IMPLICIT 3 |
| #define LOCAL 1 |
| #define OPT_BARE_EXEC 4 |
| #define OPT_EXEC 2 |
| #define OPT_IMPORT_STAR 1 |
| #define PySTEntry_Check | ( | op | ) | (Py_TYPE(op) == &PySTEntry_Type) |
| #define SCOPE_MASK 7 |
| #define SCOPE_OFF 11 |
| #define USE 2<<2 /* name is used */ |
| typedef enum _block_type _Py_block_ty |
| typedef struct _symtable_entry PySTEntryObject |
| enum _block_type |
| PyAPI_DATA | ( | PyTypeObject | ) |
|
read |
| PyObject const char PyFutureFeatures* PyAPI_FUNC | ( | PySTEntryObject * | ) |
| PyObject const char PyFutureFeatures void* PyAPI_FUNC | ( | void | ) |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.