$25 GRAYBYTE WORDPRESS FILE MANAGER $22

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python33/include/python3.3m/

HOME
Current File : /opt/alt/python33/include/python3.3m//symtable.h
#ifndef Py_LIMITED_API
#ifndef Py_SYMTABLE_H
#define Py_SYMTABLE_H

#ifdef __cplusplus
extern "C" {
#endif

/* XXX(ncoghlan): This is a weird mix of public names and interpreter internal
 *                names.
 */

typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock }
    _Py_block_ty;

struct _symtable_entry;

struct symtable {
    const char *st_filename;        /* name of file being compiled,
                                       decoded from the filesystem encoding */
    struct _symtable_entry *st_cur; /* current symbol table entry */
    struct _symtable_entry *st_top; /* symbol table entry for module */
    PyObject *st_blocks;            /* dict: map AST node addresses
                                     *       to symbol table entries */
    PyObject *st_stack;             /* list: stack of namespace info */
    PyObject *st_global;            /* borrowed ref to st_top->ste_symbols */
    int st_nblocks;                 /* number of blocks used. kept for
                                       consistency with the corresponding
                                       compiler structure */
    PyObject *st_private;           /* name of current class or NULL */
    PyFutureFeatures *st_future;    /* module's future features that affect
                                       the symbol table */
    int recursion_depth;            /* current recursion depth */
    int recursion_limit;            /* recursion limit */
};

typedef struct _symtable_entry {
    PyObject_HEAD
    PyObject *ste_id;        /* int: key in ste_table->st_blocks */
    PyObject *ste_symbols;   /* dict: variable names to flags */
    PyObject *ste_name;      /* string: name of current block */
    PyObject *ste_varnames;  /* list of function parameters */
    PyObject *ste_children;  /* list of child blocks */
    _Py_block_ty ste_type;   /* module, class, or function */
    int ste_unoptimized;     /* false if namespace is optimized */
    int ste_nested;      /* true if block is nested */
    unsigned ste_free : 1;        /* true if block has free variables */
    unsigned ste_child_free : 1;  /* true if a child block has free vars,
                                     including free refs to globals */
    unsigned ste_generator : 1;   /* true if namespace is a generator */
    unsigned ste_varargs : 1;     /* true if block has varargs */
    unsigned ste_varkeywords : 1; /* true if block has varkeywords */
    unsigned ste_returns_value : 1;  /* true if namespace uses return with
                                        an argument */
    int ste_lineno;          /* first line of block */
    int ste_col_offset;      /* offset of first line of block */
    int ste_opt_lineno;      /* lineno of last exec or import * */
    int ste_opt_col_offset;  /* offset of last exec or import * */
    int ste_tmpname;         /* counter for listcomp temp vars */
    struct symtable *ste_table;
} PySTEntryObject;

PyAPI_DATA(PyTypeObject) PySTEntry_Type;

#define PySTEntry_Check(op) (Py_TYPE(op) == &PySTEntry_Type)

PyAPI_FUNC(int) PyST_GetScope(PySTEntryObject *, PyObject *);

PyAPI_FUNC(struct symtable *) PySymtable_Build(
    mod_ty mod,
    const char *filename,       /* decoded from the filesystem encoding */
    PyFutureFeatures *future);
PyAPI_FUNC(PySTEntryObject *) PySymtable_Lookup(struct symtable *, void *);

PyAPI_FUNC(void) PySymtable_Free(struct symtable *);

/* Flags for def-use information */

#define DEF_GLOBAL 1           /* global stmt */
#define DEF_LOCAL 2            /* assignment in code block */
#define DEF_PARAM 2<<1         /* formal parameter */
#define DEF_NONLOCAL 2<<2      /* nonlocal stmt */
#define USE 2<<3               /* name is used */
#define DEF_FREE 2<<4          /* name used but not defined in nested block */
#define DEF_FREE_CLASS 2<<5    /* free variable from class's method */
#define DEF_IMPORT 2<<6        /* assignment occurred via import */

#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)

/* GLOBAL_EXPLICIT and GLOBAL_IMPLICIT are used internally by the symbol
   table.  GLOBAL is returned from PyST_GetScope() for either of them.
   It is stored in ste_symbols at bits 12-15.
*/
#define SCOPE_OFFSET 11
#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)

#define LOCAL 1
#define GLOBAL_EXPLICIT 2
#define GLOBAL_IMPLICIT 3
#define FREE 4
#define CELL 5

/* The following two names are used for the ste_unoptimized bit field */
#define OPT_IMPORT_STAR 1
#define OPT_TOPLEVEL 2  /* top-level names, including eval and exec */

#define GENERATOR 1
#define GENERATOR_EXPRESSION 2

#ifdef __cplusplus
}
#endif
#endif /* !Py_SYMTABLE_H */
#endif /* Py_LIMITED_API */


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.37 PM
root / root
0755
Python-ast.h
18.868 KB
19 Sep 2017 7.38 AM
root / linksafe
0644
Python.h
2.77 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
abstract.h
41.608 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
accu.h
0.992 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
asdl.h
1.066 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
ast.h
0.336 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
bitset.h
0.773 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
bltinmodule.h
0.258 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
boolobject.h
0.865 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
bytearrayobject.h
1.954 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
bytes_methods.h
1.978 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
bytesobject.h
4.776 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
cellobject.h
0.685 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
ceval.h
7.025 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
classobject.h
1.627 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
code.h
4.128 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
codecs.h
6.326 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
compile.h
1.624 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
complexobject.h
1.908 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
datetime.h
8.342 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
descrobject.h
2.845 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
dictobject.h
4.855 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
dtoa.h
0.447 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
dynamic_annotations.h
21.944 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
enumobject.h
0.247 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
errcode.h
1.462 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
eval.h
0.583 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
fileobject.h
1.726 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
fileutils.h
1.061 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
floatobject.h
4.532 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
frameobject.h
3.293 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
funcobject.h
3.683 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
genobject.h
1.055 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
graminit.h
1.829 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
grammar.h
1.974 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
import.h
3.792 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
intrcheck.h
0.449 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
iterobject.h
0.554 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
listobject.h
2.768 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
longintrepr.h
3.903 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
longobject.h
7.552 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
marshal.h
0.726 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
memoryobject.h
2.805 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
metagrammar.h
0.247 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
methodobject.h
3.229 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
modsupport.h
4.753 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
moduleobject.h
1.528 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
namespaceobject.h
0.29 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
node.h
0.973 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
object.h
37.088 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
objimpl.h
13.075 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
opcode.h
5.086 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
osdefs.h
0.963 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
parsetok.h
2.229 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
patchlevel.h
1.102 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pgen.h
0.247 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pgenheaders.h
1.117 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
py_curses.h
4.077 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyarena.h
2.68 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyatomic.h
5.805 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pycapsule.h
1.686 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyconfig-64.h
41.433 KB
17 Apr 2024 4.56 PM
root / linksafe
0644
pyconfig.h
0.158 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
pyctype.h
1.289 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pydebug.h
0.963 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyerrors.h
14.341 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyexpat.h
2.285 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyfpe.h
8.29 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pygetopt.h
0.379 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pymacconfig.h
2.918 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pymacro.h
2.622 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pymath.h
6.262 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pymem.h
4.588 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pyport.h
30.315 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pystate.h
7.575 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pystrcmp.h
0.426 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pystrtod.h
1.246 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pythonrun.h
8.786 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pythread.h
2.965 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
pytime.h
2.643 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
rangeobject.h
0.614 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
setobject.h
3.214 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
sliceobject.h
1.348 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
structmember.h
2.02 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
structseq.h
1.188 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
symtable.h
4.578 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
sysmodule.h
1.085 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
token.h
1.838 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
traceback.h
2.095 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
tupleobject.h
2.387 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
typeslots.h
1.95 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
ucnhash.h
1.032 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
unicodeobject.h
74.408 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
warnings.h
0.931 KB
19 Sep 2017 7.32 AM
root / linksafe
0644
weakrefobject.h
2.799 KB
19 Sep 2017 7.32 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF