GRAYBYTE WORDPRESS FILE MANAGER7553

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/python35/include/python3.5m/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/python35/include/python3.5m//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 {
    PyObject *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 */
    PyObject *ste_directives;/* locations of global and nonlocal statements */
    _Py_block_ty ste_type;   /* module, class, or function */
    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 */
    unsigned ste_needs_class_closure : 1; /* for class scopes, true if a
                                             closure over __class__
                                             should be created */
    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(struct symtable *) PySymtable_BuildObject(
    mod_ty mod,
    PyObject *filename,
    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

#define GENERATOR 1
#define GENERATOR_EXPRESSION 2

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

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:36:58
root / root
0755
Python-ast.h
20.362 KB
November 01 2019 23:03:20
root / linksafe
0644
Python.h
2.838 KB
November 01 2019 23:02:34
root / linksafe
0644
abstract.h
42.795 KB
November 01 2019 23:02:34
root / linksafe
0644
accu.h
0.992 KB
November 01 2019 23:02:34
root / linksafe
0644
asdl.h
1.156 KB
November 01 2019 23:02:34
root / linksafe
0644
ast.h
0.466 KB
November 01 2019 23:02:34
root / linksafe
0644
bitset.h
0.773 KB
November 01 2019 23:02:34
root / linksafe
0644
bltinmodule.h
0.258 KB
November 01 2019 23:02:34
root / linksafe
0644
boolobject.h
0.865 KB
November 01 2019 23:02:34
root / linksafe
0644
bytearrayobject.h
2.064 KB
November 01 2019 23:02:34
root / linksafe
0644
bytes_methods.h
1.986 KB
November 01 2019 23:02:34
root / linksafe
0644
bytesobject.h
4.868 KB
November 01 2019 23:02:34
root / linksafe
0644
cellobject.h
0.685 KB
November 01 2019 23:02:34
root / linksafe
0644
ceval.h
7.457 KB
November 01 2019 23:02:34
root / linksafe
0644
classobject.h
1.627 KB
November 01 2019 23:02:34
root / linksafe
0644
code.h
5.139 KB
November 01 2019 23:02:34
root / linksafe
0644
codecs.h
6.536 KB
November 01 2019 23:02:34
root / linksafe
0644
compile.h
2.113 KB
November 01 2019 23:02:34
root / linksafe
0644
complexobject.h
1.765 KB
November 01 2019 23:02:34
root / linksafe
0644
datetime.h
8.342 KB
November 01 2019 23:02:34
root / linksafe
0644
descrobject.h
2.845 KB
November 01 2019 23:02:34
root / linksafe
0644
dictobject.h
6.187 KB
November 01 2019 23:02:34
root / linksafe
0644
dtoa.h
0.447 KB
November 01 2019 23:02:34
root / linksafe
0644
dynamic_annotations.h
21.942 KB
November 01 2019 23:02:34
root / linksafe
0644
enumobject.h
0.247 KB
November 01 2019 23:02:34
root / linksafe
0644
errcode.h
1.462 KB
November 01 2019 23:02:34
root / linksafe
0644
eval.h
0.583 KB
November 01 2019 23:02:34
root / linksafe
0644
fileobject.h
1.476 KB
November 01 2019 23:02:34
root / linksafe
0644
fileutils.h
2.81 KB
November 01 2019 23:02:34
root / linksafe
0644
floatobject.h
4.532 KB
November 01 2019 23:02:34
root / linksafe
0644
frameobject.h
3.447 KB
November 01 2019 23:02:34
root / linksafe
0644
funcobject.h
3.683 KB
November 01 2019 23:02:34
root / linksafe
0644
genobject.h
2.606 KB
November 01 2019 23:02:34
root / linksafe
0644
graminit.h
1.898 KB
November 01 2019 23:02:34
root / linksafe
0644
grammar.h
1.996 KB
November 01 2019 23:02:34
root / linksafe
0644
import.h
3.81 KB
November 01 2019 23:02:34
root / linksafe
0644
intrcheck.h
0.449 KB
November 01 2019 23:02:34
root / linksafe
0644
iterobject.h
0.554 KB
November 01 2019 23:02:34
root / linksafe
0644
listobject.h
2.832 KB
November 01 2019 23:02:34
root / linksafe
0644
longintrepr.h
3.903 KB
November 01 2019 23:02:34
root / linksafe
0644
longobject.h
8.092 KB
November 01 2019 23:02:34
root / linksafe
0644
marshal.h
0.784 KB
November 01 2019 23:02:34
root / linksafe
0644
memoryobject.h
2.632 KB
November 01 2019 23:02:34
root / linksafe
0644
metagrammar.h
0.247 KB
November 01 2019 23:02:34
root / linksafe
0644
methodobject.h
3.288 KB
November 01 2019 23:02:34
root / linksafe
0644
modsupport.h
5.911 KB
November 01 2019 23:02:34
root / linksafe
0644
moduleobject.h
2.095 KB
November 01 2019 23:02:34
root / linksafe
0644
namespaceobject.h
0.29 KB
November 01 2019 23:02:34
root / linksafe
0644
node.h
0.983 KB
November 01 2019 23:02:34
root / linksafe
0644
object.h
39.067 KB
November 01 2019 23:02:34
root / linksafe
0644
objimpl.h
13.647 KB
November 01 2019 23:02:34
root / linksafe
0644
odictobject.h
1.299 KB
November 01 2019 23:02:34
root / linksafe
0644
opcode.h
4.809 KB
November 01 2019 23:02:34
root / linksafe
0644
osdefs.h
0.675 KB
November 01 2019 23:02:34
root / linksafe
0644
parsetok.h
2.817 KB
November 01 2019 23:02:34
root / linksafe
0644
patchlevel.h
1.102 KB
November 01 2019 23:02:34
root / linksafe
0644
pgen.h
0.247 KB
November 01 2019 23:02:34
root / linksafe
0644
pgenheaders.h
1.117 KB
November 01 2019 23:02:34
root / linksafe
0644
py_curses.h
4.077 KB
November 01 2019 23:02:34
root / linksafe
0644
pyarena.h
2.68 KB
November 01 2019 23:02:34
root / linksafe
0644
pyatomic.h
7.943 KB
November 01 2019 23:02:34
root / linksafe
0644
pycapsule.h
1.686 KB
November 01 2019 23:02:34
root / linksafe
0644
pyconfig-64.h
42.805 KB
May 31 2024 13:49:53
root / linksafe
0644
pyconfig.h
0.158 KB
May 31 2024 13:51:34
root / linksafe
0644
pyctype.h
1.289 KB
November 01 2019 23:02:34
root / linksafe
0644
pydebug.h
1.113 KB
November 01 2019 23:02:34
root / linksafe
0644
pyerrors.h
15.949 KB
November 01 2019 23:02:34
root / linksafe
0644
pyexpat.h
2.393 KB
November 01 2019 23:02:34
root / linksafe
0644
pyfpe.h
8.272 KB
November 01 2019 23:02:34
root / linksafe
0644
pygetopt.h
0.379 KB
November 01 2019 23:02:34
root / linksafe
0644
pyhash.h
4.174 KB
November 01 2019 23:02:34
root / linksafe
0644
pylifecycle.h
3.721 KB
November 01 2019 23:02:34
root / linksafe
0644
pymacconfig.h
2.919 KB
November 01 2019 23:02:34
root / linksafe
0644
pymacro.h
3.22 KB
November 01 2019 23:02:34
root / linksafe
0644
pymath.h
7.05 KB
November 01 2019 23:02:34
root / linksafe
0644
pymem.h
6.868 KB
November 01 2019 23:02:34
root / linksafe
0644
pyport.h
31.27 KB
November 01 2019 23:02:34
root / linksafe
0644
pystate.h
9.268 KB
November 01 2019 23:02:34
root / linksafe
0644
pystrcmp.h
0.426 KB
November 01 2019 23:02:34
root / linksafe
0644
pystrhex.h
0.433 KB
November 01 2019 23:02:34
root / linksafe
0644
pystrtod.h
1.246 KB
November 01 2019 23:02:34
root / linksafe
0644
pythonrun.h
6.531 KB
November 01 2019 23:02:34
root / linksafe
0644
pythread.h
2.965 KB
November 01 2019 23:02:34
root / linksafe
0644
pytime.h
6.498 KB
November 01 2019 23:02:34
root / linksafe
0644
rangeobject.h
0.614 KB
November 01 2019 23:02:34
root / linksafe
0644
setobject.h
3.213 KB
November 01 2019 23:02:34
root / linksafe
0644
sliceobject.h
2.427 KB
November 01 2019 23:02:34
root / linksafe
0644
structmember.h
2.02 KB
November 01 2019 23:02:34
root / linksafe
0644
structseq.h
1.321 KB
November 01 2019 23:02:34
root / linksafe
0644
symtable.h
4.747 KB
November 01 2019 23:02:34
root / linksafe
0644
sysmodule.h
1.323 KB
November 01 2019 23:02:34
root / linksafe
0644
token.h
1.897 KB
November 01 2019 23:02:34
root / linksafe
0644
traceback.h
2.161 KB
November 01 2019 23:02:34
root / linksafe
0644
tupleobject.h
2.387 KB
November 01 2019 23:02:34
root / linksafe
0644
typeslots.h
2.2 KB
November 01 2019 23:02:34
root / linksafe
0644
ucnhash.h
1.031 KB
November 01 2019 23:02:34
root / linksafe
0644
unicodeobject.h
77.337 KB
November 01 2019 23:02:34
root / linksafe
0644
warnings.h
1.393 KB
November 01 2019 23:02:34
root / linksafe
0644
weakrefobject.h
2.799 KB
November 01 2019 23:02:34
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF