Home
last modified time | relevance | path

Searched refs:symtable (Results 1 – 25 of 42) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_symtable.py4 import symtable
44 top = symtable.symtable(TEST_CODE, "?", "exec")
137 st1 = symtable.symtable('def f():\n x: int\n', 'test', 'exec')
142 st3 = symtable.symtable('def f():\n x = 1\n', 'test', 'exec')
164 symtable.symtable(brokencode, "spam", "exec")
173 symtable.symtable("pass", b"spam", "exec")
176 symtable.symtable("pass", bytearray(b"spam"), "exec")
178 symtable.symtable("pass", memoryview(b"spam"), "exec")
180 symtable.symtable("pass", list(b"spam"), "exec")
183 symbols = symtable.symtable("42", "?", "eval")
[all …]
/external/python/cpython2/Python/
Dsymtable.c21 ste_new(struct symtable *st, identifier name, _Py_block_ty block, in ste_new()
164 static int symtable_analyze(struct symtable *st);
165 static int symtable_warn(struct symtable *st,
167 static int symtable_enter_block(struct symtable *st, identifier name,
169 static int symtable_exit_block(struct symtable *st, void *ast);
170 static int symtable_visit_stmt(struct symtable *st, stmt_ty s);
171 static int symtable_visit_expr(struct symtable *st, expr_ty s);
172 static int symtable_visit_listcomp(struct symtable *st, expr_ty e);
173 static int symtable_visit_genexp(struct symtable *st, expr_ty s);
174 static int symtable_visit_setcomp(struct symtable *st, expr_ty e);
[all …]
Dpythonrun.c1447 struct symtable *
1450 struct symtable *st; in Py_SymtableString()
/external/python/cpython2/Lib/test/
Dtest_symtable.py4 import symtable
48 top = symtable.symtable(TEST_CODE, "?", "exec")
162 symtable.symtable(brokencode, "spam", "exec")
171 symbols = symtable.symtable("42", "?", "eval")
174 symbols = symtable.symtable("42", "?", "single")
177 symbols = symtable.symtable("def f(x): return x", "?", "exec")
/external/python/cpython3/Python/
Dsymtable.c39 ste_new(struct symtable *st, identifier name, _Py_block_ty block, in ste_new()
178 static int symtable_analyze(struct symtable *st);
179 static int symtable_enter_block(struct symtable *st, identifier name,
182 static int symtable_exit_block(struct symtable *st, void *ast);
183 static int symtable_visit_stmt(struct symtable *st, stmt_ty s);
184 static int symtable_visit_expr(struct symtable *st, expr_ty s);
185 static int symtable_visit_genexp(struct symtable *st, expr_ty s);
186 static int symtable_visit_listcomp(struct symtable *st, expr_ty s);
187 static int symtable_visit_setcomp(struct symtable *st, expr_ty s);
188 static int symtable_visit_dictcomp(struct symtable *st, expr_ty s);
[all …]
Dpythonrun.c1128 struct symtable *
1131 struct symtable *st; in Py_SymtableStringObject()
1151 struct symtable *
1155 struct symtable *st; in Py_SymtableString()
/external/python/cpython3/Include/
Dsymtable.h18 struct symtable { struct
63 struct symtable *ste_table;
72 PyAPI_FUNC(struct symtable *) PySymtable_Build(
76 PyAPI_FUNC(struct symtable *) PySymtable_BuildObject(
80 PyAPI_FUNC(PySTEntryObject *) PySymtable_Lookup(struct symtable *, void *);
82 PyAPI_FUNC(void) PySymtable_Free(struct symtable *);
Dpythonrun.h117 PyAPI_FUNC(struct symtable *) Py_SymtableString(
122 PyAPI_FUNC(struct symtable *) Py_SymtableStringObject(
/external/python/cpython2/Include/
Dsymtable.h13 struct symtable { struct
46 struct symtable *ste_table;
55 PyAPI_FUNC(struct symtable *) PySymtable_Build(mod_ty, const char *,
57 PyAPI_FUNC(PySTEntryObject *) PySymtable_Lookup(struct symtable *, void *);
59 PyAPI_FUNC(void) PySymtable_Free(struct symtable *);
Dpythonrun.h68 PyAPI_FUNC(struct symtable *) Py_SymtableString(const char *, const char *, int);
/external/python/cpython3/Doc/library/
Dsymtable.rst1 :mod:`symtable` --- Access to the compiler's symbol tables
4 .. module:: symtable
7 **Source code:** :source:`Lib/symtable.py`
17 identifier in the code. :mod:`symtable` provides an interface to examine these
24 .. function:: symtable(code, filename, compile_type)
173 >>> table = symtable.symtable("def some_func(): pass", "string", "exec")
Dlanguage.rst18 symtable.rst
/external/python/cpython2/Doc/library/
Dsymtable.rst1 :mod:`symtable` --- Access to the compiler's symbol tables
4 .. module:: symtable
7 **Source code:** :source:`Lib/symtable.py`
17 identifier in the code. :mod:`symtable` provides an interface to examine these
24 .. function:: symtable(code, filename, compile_type)
177 >>> table = symtable.symtable("def some_func(): pass", "string", "exec")
Dlanguage.rst19 symtable.rst
/external/python/cpython2/Lib/
Dsymtable.py12 def symtable(code, filename, compile_type): function
13 top = _symtable.symtable(code, filename, compile_type)
236 mod = symtable(src, os.path.split(sys.argv[0])[1], "exec")
/external/python/cpython3/Lib/
Dsymtable.py12 def symtable(code, filename, compile_type): function
13 top = _symtable.symtable(code, filename, compile_type)
235 mod = symtable(src, os.path.split(sys.argv[0])[1], "exec")
/external/python/cpython3/Modules/
Dsymtablemodule.c30 struct symtable *st; in _symtable_symtable_impl()
/external/python/cpython2/Modules/
Dsymtablemodule.c11 struct symtable *st; in symtable_symtable()
/external/python/cpython2/Lib/compiler/
Dsymbols.py417 import symtable
428 syms = symtable.symtable(buf, file, "exec")
/external/icu/icu4c/source/test/hdrtst/
Dcxxfiles.txt100 symtable.h
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt469 # Python/symtable.c
/external/python/cpython2/Misc/
Dmaintainers.rst215 symtable benjamin.peterson
/external/python/cpython2/Misc/NEWS.d/
D2.7.6rc1.rst104 Fix symtable.symtable function to not be confused when there are functions
D2.6b3.rst146 symtable.Symbol have been deprecated for removal in 3.0 and the next
/external/python/cpython2/RISCOS/
DMakefile131 @.^.Python.o.symtable\

12