Searched refs:symtable (Results 1 – 25 of 30) sorted by relevance
12
/third_party/python/Lib/test/ |
D | test_symtable.py | 4 import symtable 54 top = symtable.symtable(TEST_CODE, "?", "exec") 170 st1 = symtable.symtable('def f():\n x: int\n', 'test', 'exec') 175 st3 = symtable.symtable('def f():\n x = 1\n', 'test', 'exec') 182 st5 = symtable.symtable('global x\nx: int', 'test', 'exec') 187 st6 = symtable.symtable('def g():\n' 211 symtable.symtable(brokencode, "spam", "exec") 220 symtable.symtable("pass", b"spam", "exec") 223 symtable.symtable("pass", bytearray(b"spam"), "exec") 225 symtable.symtable("pass", memoryview(b"spam"), "exec") [all …]
|
/third_party/python/Python/ |
D | symtable.c | 59 ste_new(struct symtable *st, identifier name, _Py_block_ty block, in ste_new() 204 static int symtable_analyze(struct symtable *st); 205 static int symtable_enter_block(struct symtable *st, identifier name, 209 static int symtable_exit_block(struct symtable *st); 210 static int symtable_visit_stmt(struct symtable *st, stmt_ty s); 211 static int symtable_visit_expr(struct symtable *st, expr_ty s); 212 static int symtable_visit_genexp(struct symtable *st, expr_ty s); 213 static int symtable_visit_listcomp(struct symtable *st, expr_ty s); 214 static int symtable_visit_setcomp(struct symtable *st, expr_ty s); 215 static int symtable_visit_dictcomp(struct symtable *st, expr_ty s); [all …]
|
/third_party/python/Include/internal/ |
D | pycore_symtable.h | 25 struct symtable { struct 75 struct symtable *ste_table; 84 extern struct symtable* _PySymtable_Build( 88 PyAPI_FUNC(PySTEntryObject *) PySymtable_Lookup(struct symtable *, void *); 90 extern void _PySymtable_Free(struct symtable *); 124 extern struct symtable* _Py_SymtableStringObjectFlags(
|
/third_party/python/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) 183 >>> table = symtable.symtable("def some_func(): pass", "string", "exec")
|
D | language.rst | 17 symtable.rst
|
/third_party/python/Lib/ |
D | symtable.py | 12 def symtable(code, filename, compile_type): function 18 top = _symtable.symtable(code, filename, compile_type) 319 mod = symtable(src, os.path.split(sys.argv[0])[1], "exec")
|
/third_party/python/Modules/ |
D | symtablemodule.c | 27 struct symtable *st; in _symtable_symtable_impl()
|
D | Setup | 147 # The Python symtable module depends on .h files that setup.py doesn't track
|
/third_party/ltp/tools/sparse/sparse-src/Documentation/ |
D | TODO.md | 73 * dump the symtable
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a7.rst | 956 Remove the ``symtable.h`` header file and the undocumented functions: 966 it could not be used, because the ``symtable.h`` header file was excluded 969 The Python :mod:`symtable` module remains available and is unchanged.
|
D | 3.9.0a6.rst | 567 Remove deprecated :meth:`symtable.SymbolTable.has_exec`. 576 Fix a bug in the :mod:`symtable` module that was causing incorrectly report
|
D | 3.8.0b1.rst | 686 :func:`symtable.symtable` now accepts the same input types for source code
|
D | 3.10.0a3.rst | 1338 Port :mod:`symtable` extension module to multiphase initialization
|
D | 3.10.0a1.rst | 1107 Fix a bug in the :mod:`symtable` module that was causing module-scope global
|
/third_party/skia/third_party/externals/icu/ |
D | icu.gyp | 649 'unicode/symtable.h',
|
D | sources.gni | 885 "source/common/unicode/symtable.h",
|
/third_party/python/Doc/data/ |
D | stable_abi.dat | 859 type,symtable,3.2,
|
/third_party/python/Misc/ |
D | stable_abi.txt | 43 struct symtable
|
/third_party/python/Doc/whatsnew/ |
D | 3.10.rst | 2253 * Remove the ``symtable.h`` header file and the undocumented functions: 2263 it could not be used, because the ``symtable.h`` header file was excluded 2266 Use Python :mod:`symtable` module instead.
|
D | 2.7.rst | 1593 * New function: :func:`~symtable.Symbol.is_declared_global` in the :mod:`symtable` module
|
D | 3.9.rst | 1038 * The :meth:`symtable.SymbolTable.has_exec` method has been removed. It was
|
/third_party/skia/third_party/icu/ |
D | icu.gni | 266 "$_src/common/unicode/symtable.h",
|
/third_party/python/ |
D | Makefile.pre.in | 381 Python/symtable.o \ 935 Python/compile.o Python/symtable.o Python/ast_unparse.o Python/ast.o Python/future.o: $(srcdir)/Inc…
|
/third_party/elfutils/config/ |
D | elfutils.spec.in | 1157 - upgrade to 0.81 (strip excludes unused symtable entries, test borked).
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 912 Python/symtable.c:PySTEntry_Type PyTypeObject PySTEntry_Type
|
12