symtable.h File Reference

Classes

struct  symtable
 
struct  _symtable_entry
 

Macros

#define PySTEntry_Check(op)
 
#define DEF_GLOBAL
 
#define DEF_LOCAL
 
#define DEF_PARAM
 
#define DEF_NONLOCAL
 
#define USE
 
#define DEF_FREE
 
#define DEF_FREE_CLASS
 
#define DEF_IMPORT
 
#define DEF_ANNOT
 
#define DEF_COMP_ITER
 
#define DEF_BOUND
 
#define SCOPE_OFFSET
 
#define SCOPE_MASK
 
#define LOCAL
 
#define GLOBAL_EXPLICIT
 
#define GLOBAL_IMPLICIT
 
#define FREE
 
#define CELL
 
#define GENERATOR
 
#define GENERATOR_EXPRESSION
 

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 *
 
PyObjectPyAPI_FUNC (struct symtable *) PySymtable_Build(mod_ty mod
 
 PyAPI_FUNC (PySTEntryObject *) PySymtable_Lookup(struct symtable *
 
void * PyAPI_FUNC (void) PySymtable_Free(struct symtable *)
 

Variables

PyObject const char * filename
 
PyObject const char PyFutureFeaturesfuture
 

Macro Definition Documentation

◆ PySTEntry_Check

#define PySTEntry_Check (   op)

◆ DEF_GLOBAL

#define DEF_GLOBAL

◆ DEF_LOCAL

#define DEF_LOCAL

◆ DEF_PARAM

#define DEF_PARAM

◆ DEF_NONLOCAL

#define DEF_NONLOCAL

◆ USE

#define USE

◆ DEF_FREE

#define DEF_FREE

◆ DEF_FREE_CLASS

#define DEF_FREE_CLASS

◆ DEF_IMPORT

#define DEF_IMPORT

◆ DEF_ANNOT

#define DEF_ANNOT

◆ DEF_COMP_ITER

#define DEF_COMP_ITER

◆ DEF_BOUND

#define DEF_BOUND

◆ SCOPE_OFFSET

#define SCOPE_OFFSET

◆ SCOPE_MASK

#define SCOPE_MASK

◆ LOCAL

#define LOCAL

◆ GLOBAL_EXPLICIT

#define GLOBAL_EXPLICIT

◆ GLOBAL_IMPLICIT

#define GLOBAL_IMPLICIT

◆ FREE

#define FREE

◆ CELL

#define CELL

◆ GENERATOR

#define GENERATOR

◆ GENERATOR_EXPRESSION

#define GENERATOR_EXPRESSION

Typedef Documentation

◆ _Py_block_ty

typedef enum _block_type _Py_block_ty

◆ PySTEntryObject

Enumeration Type Documentation

◆ _block_type

Enumerator
FunctionBlock 
ClassBlock 
ModuleBlock 

Function Documentation

◆ PyAPI_DATA()

PyAPI_DATA ( PyTypeObject  )

◆ PyAPI_FUNC() [1/4]

PyAPI_FUNC ( int  )

◆ PyAPI_FUNC() [2/4]

PyObject* PyAPI_FUNC ( struct symtable )

◆ PyAPI_FUNC() [3/4]

PyAPI_FUNC ( PySTEntryObject )

◆ PyAPI_FUNC() [4/4]

void* PyAPI_FUNC ( void  )

Variable Documentation

◆ filename

PyObject* filename

◆ future