/external/python/cpython3/Lib/test/ |
D | test_symtable.py | 4 import symtable 54 top = symtable.symtable(TEST_CODE, "?", "exec") 163 st1 = symtable.symtable('def f():\n x: int\n', 'test', 'exec') 168 st3 = symtable.symtable('def f():\n x = 1\n', 'test', 'exec') 175 st5 = symtable.symtable('global x\nx: int', 'test', 'exec') 180 st6 = symtable.symtable('def g():\n' 204 symtable.symtable(brokencode, "spam", "exec") 213 symtable.symtable("pass", b"spam", "exec") 216 symtable.symtable("pass", bytearray(b"spam"), "exec") 218 symtable.symtable("pass", memoryview(b"spam"), "exec") [all …]
|
/external/python/cpython3/Include/ |
D | symtable.h | 19 struct symtable { struct 67 struct symtable *ste_table; 76 PyAPI_FUNC(struct symtable *) PySymtable_Build( 80 PyAPI_FUNC(struct symtable *) PySymtable_BuildObject( 84 PyAPI_FUNC(PySTEntryObject *) PySymtable_Lookup(struct symtable *, void *); 86 PyAPI_FUNC(void) PySymtable_Free(struct symtable *);
|
D | pythonrun.h | 123 PyAPI_FUNC(struct symtable *) Py_SymtableString( 135 PyAPI_FUNC(struct symtable *) Py_SymtableStringObject( 140 PyAPI_FUNC(struct symtable *) _Py_SymtableStringObjectFlags(
|
/external/python/cpython2/Python/ |
D | symtable.c | 21 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 …]
|
D | pythonrun.c | 1447 struct symtable * 1450 struct symtable *st; in Py_SymtableString()
|
/external/python/cpython2/Lib/test/ |
D | test_symtable.py | 4 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/cpython2/Include/ |
D | symtable.h | 13 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 *);
|
D | pythonrun.h | 68 PyAPI_FUNC(struct symtable *) Py_SymtableString(const char *, const char *, int);
|
/external/python/cpython3/Python/ |
D | symtable.c | 47 ste_new(struct symtable *st, identifier name, _Py_block_ty block, in ste_new() 189 static int symtable_analyze(struct symtable *st); 190 static int symtable_enter_block(struct symtable *st, identifier name, 193 static int symtable_exit_block(struct symtable *st); 194 static int symtable_visit_stmt(struct symtable *st, stmt_ty s); 195 static int symtable_visit_expr(struct symtable *st, expr_ty s); 196 static int symtable_visit_genexp(struct symtable *st, expr_ty s); 197 static int symtable_visit_listcomp(struct symtable *st, expr_ty s); 198 static int symtable_visit_setcomp(struct symtable *st, expr_ty s); 199 static int symtable_visit_dictcomp(struct symtable *st, expr_ty s); [all …]
|
D | pythonrun.c | 1348 struct symtable * 1355 struct symtable * 1358 struct symtable *st; in _Py_SymtableStringObjectFlags() 1382 struct symtable * 1386 struct symtable *st; in Py_SymtableString()
|
/external/python/cpython3/Doc/library/ |
D | symtable.rst | 1 :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")
|
D | language.rst | 18 symtable.rst
|
/external/python/cpython2/Doc/library/ |
D | symtable.rst | 1 :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")
|
D | language.rst | 19 symtable.rst
|
/external/python/cpython2/Lib/ |
D | symtable.py | 12 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/ |
D | symtable.py | 12 def symtable(code, filename, compile_type): function 13 top = _symtable.symtable(code, filename, compile_type) 249 mod = symtable(src, os.path.split(sys.argv[0])[1], "exec")
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 11 struct symtable *st; in symtable_symtable()
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 30 struct symtable *st; in _symtable_symtable_impl()
|
/external/python/cpython2/Lib/compiler/ |
D | symbols.py | 417 import symtable 428 syms = symtable.symtable(buf, file, "exec")
|
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/py/ |
D | BUILD | 152 "python_include/symtable.h", 164 …_include/structseq.h" && cp -f "/usr/include/python2.7/symtable.h" "$(@D)/python_include/symtable.…
|
/external/icu/tools/icu4c_srcgen/ |
D | cxxfiles.txt | 137 symtable.h
|
/external/tensorflow/third_party/toolchains/preconfig/win_1803/py37/ |
D | BUILD | 171 "python_include/symtable.h", 183 …hon_include/structseq.h" && cp -f "c:/python37/include/symtable.h" "$(@D)/python_include/symtable.…
|
/external/python/cpython3/Tools/c-analyzer/ |
D | ignored-globals.txt | 469 # Python/symtable.c
|
/external/tensorflow/third_party/toolchains/preconfig/win_1803/py38/ |
D | BUILD | 193 "python_include/symtable.h", 206 …hon_include/structseq.h" && cp -f "c:/Python38/include/symtable.h" "$(@D)/python_include/symtable.…
|
/external/python/cpython2/Misc/ |
D | maintainers.rst | 215 symtable benjamin.peterson
|