deimos.python.symtable

Mirror symtable.h

Members

Aliases

PySymtableEntryObject
alias PySymtableEntryObject = PySTEntryObject

Availability: 2.4

Enums

_Py_block_ty
enum _Py_block_ty

Availability: >= 2.5

Functions

PyNode_CompileSymtable
symtable* PyNode_CompileSymtable(node* , const(char)* )

Availability: 2.4

PyST_GetScope
int PyST_GetScope(PySTEntryObject* , PyObject* )

Availability: >= 2.5

PySymtableEntry_Check
int PySymtableEntry_Check(PyObject* op)

_

PySymtableEntry_Check
int PySymtableEntry_Check(PyObject* op)

_

PySymtableEntry_New
PyObject* PySymtableEntry_New(symtable* , char* , int , int )

Availability: 2.4

PySymtable_Build
symtable* PySymtable_Build(mod_ty , const(char)* , PyFutureFeatures* )

Availability: >= 2.5

PySymtable_Free
void PySymtable_Free(symtable* )

_

PySymtable_Free
void PySymtable_Free(symtable* )

_

PySymtable_Lookup
PySTEntryObject* PySymtable_Lookup(symtable* , void* )

Availability: >= 2.5

Manifest constants

CELL
enum CELL;

_

DEF_BOUND
enum DEF_BOUND;

_

DEF_DOUBLESTAR
enum DEF_DOUBLESTAR;

parameter is star-star arg

DEF_FREE
enum DEF_FREE;

name used but not defined in nested block

DEF_FREE
enum DEF_FREE;

name used but not defined in nested scope

DEF_FREE_CLASS
enum DEF_FREE_CLASS;

free variable from class's method

DEF_FREE_CLASS
enum DEF_FREE_CLASS;

free variable from class's method

DEF_FREE_GLOBAL
enum DEF_FREE_GLOBAL;

free variable is actually implicit global

DEF_GLOBAL
enum DEF_GLOBAL;

global stmt

DEF_IMPORT
enum DEF_IMPORT;

assignment occurred via import

DEF_IMPORT
enum DEF_IMPORT;

assignment occurred via import

DEF_INTUPLE
enum DEF_INTUPLE;

name defined in tuple in parameters

DEF_LOCAL
enum DEF_LOCAL;

assignment in code block

DEF_PARAM
enum DEF_PARAM;

formal parameter

DEF_STAR
enum DEF_STAR;

parameter is star arg

FREE
enum FREE;

_

GENERATOR
enum GENERATOR;

_

GENERATOR_EXPRESSION
enum GENERATOR_EXPRESSION;

_

GLOBAL_EXPLICIT
enum GLOBAL_EXPLICIT;

_

GLOBAL_IMPLICIT
enum GLOBAL_IMPLICIT;

_

LOCAL
enum LOCAL;

_

OPT_BARE_EXEC
enum OPT_BARE_EXEC;

_

OPT_EXEC
enum OPT_EXEC;

_

OPT_IMPORT_STAR
enum OPT_IMPORT_STAR;

_

TYPE_CLASS
enum TYPE_CLASS;

_

TYPE_FUNCTION
enum TYPE_FUNCTION;

_

TYPE_MODULE
enum TYPE_MODULE;

_

USE
enum USE;

name is used

Structs

PySTEntryObject
struct PySTEntryObject

_

_symtable_entry
struct _symtable_entry

_

symtable
struct symtable

_

Meta