/external/python/cpython3/Lib/test/ |
D | test_symtable.py | 4 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/ |
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/cpython3/Python/ |
D | symtable.c | 39 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 …]
|
D | pythonrun.c | 1128 struct symtable * 1131 struct symtable *st; in Py_SymtableStringObject() 1151 struct symtable * 1155 struct symtable *st; in Py_SymtableString()
|
/external/python/cpython3/Include/ |
D | symtable.h | 18 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 *);
|
D | pythonrun.h | 117 PyAPI_FUNC(struct symtable *) Py_SymtableString( 122 PyAPI_FUNC(struct symtable *) Py_SymtableStringObject(
|
/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/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) 173 >>> 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) 235 mod = symtable(src, os.path.split(sys.argv[0])[1], "exec")
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 30 struct symtable *st; in _symtable_symtable_impl()
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 11 struct symtable *st; in symtable_symtable()
|
/external/python/cpython2/Lib/compiler/ |
D | symbols.py | 417 import symtable 428 syms = symtable.symtable(buf, file, "exec")
|
/external/icu/icu4c/source/test/hdrtst/ |
D | cxxfiles.txt | 100 symtable.h
|
/external/python/cpython3/Tools/c-globals/ |
D | ignored-globals.txt | 469 # Python/symtable.c
|
/external/python/cpython2/Misc/ |
D | maintainers.rst | 215 symtable benjamin.peterson
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.6rc1.rst | 104 Fix symtable.symtable function to not be confused when there are functions
|
D | 2.6b3.rst | 146 symtable.Symbol have been deprecated for removal in 3.0 and the next
|
/external/python/cpython2/RISCOS/ |
D | Makefile | 131 @.^.Python.o.symtable\
|