Home
last modified time | relevance | path

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

12

/third_party/python/Lib/test/
Dtest_symtable.py4 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/Include/internal/
Dpycore_symtable.h25 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/Python/
Dsymtable.c59 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/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)
183 >>> table = symtable.symtable("def some_func(): pass", "string", "exec")
Dlanguage.rst17 symtable.rst
/third_party/python/Lib/
Dsymtable.py12 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/
Dsymtablemodule.c27 struct symtable *st; in _symtable_symtable_impl()
DSetup147 # The Python symtable module depends on .h files that setup.py doesn't track
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dfse_encoder.cc286 std::vector<uint16_t> symtable(table_size); in FSEEncode() local
288 … delta_find_state.data(), coding_table.data(), symtable.data()); in FSEEncode()
/third_party/ltp/tools/sparse/sparse-src/Documentation/
DTODO.md73 * dump the symtable
/third_party/python/Misc/NEWS.d/
D3.10.0a7.rst956 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.
D3.9.0a6.rst567 Remove deprecated :meth:`symtable.SymbolTable.has_exec`.
576 Fix a bug in the :mod:`symtable` module that was causing incorrectly report
D3.8.0b1.rst686 :func:`symtable.symtable` now accepts the same input types for source code
D3.10.0a3.rst1338 Port :mod:`symtable` extension module to multiphase initialization
/third_party/skia/third_party/externals/icu/
Dicu.gyp649 'unicode/symtable.h',
Dsources.gni885 "source/common/unicode/symtable.h",
/third_party/flutter/skia/third_party/externals/icu/
Dicu.gyp649 'unicode/symtable.h',
DBUILD.gn977 "source/common/unicode/symtable.h",
/third_party/python/Doc/data/
Dstable_abi.dat859 type,symtable,3.2,
/third_party/python/Misc/
Dstable_abi.txt43 struct symtable
/third_party/python/Doc/whatsnew/
D3.10.rst2246 * Remove the ``symtable.h`` header file and the undocumented functions:
2256 it could not be used, because the ``symtable.h`` header file was excluded
2259 Use Python :mod:`symtable` module instead.
/third_party/skia/third_party/icu/
Dicu.gni263 "$_src/common/unicode/symtable.h",
/third_party/flutter/skia/third_party/icu/
Dicu.gni263 "$_src/common/unicode/symtable.h",
/third_party/python/
DMakefile.pre.in381 Python/symtable.o \
935 Python/compile.o Python/symtable.o Python/ast_unparse.o Python/ast.o Python/future.o: $(srcdir)/Inc…
/third_party/flutter/skia/third_party/externals/icu/patches/
Duniset_perf2.patch451 #include "unicode/symtable.h"

12