/external/python/cpython3/Lib/test/ |
test_asdl_parser.py | 1 """Tests for the asdl parser in Parser/asdl.py""" 22 # Loads the asdl module dynamically, since it's not in a real importable 24 # Parses Python.asdl into an ast.Module and run the check on it. 28 'asdl', os.path.join(parser_dir, 'asdl.py')) 29 cls.asdl = loader.load_module() 30 cls.mod = cls.asdl.parse(os.path.join(parser_dir, 'Python.asdl')) 31 cls.assertTrue(cls.asdl.check(cls.mod), 'Module validation failed' [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
asdl_c.py | 2 """Generate C code from an ASDL description."""
9 import asdl
17 This function special cases the default types provided by asdl:
21 if isinstance(name, asdl.Id):
23 if name in asdl.builtin_types:
82 class EmitVisitor(asdl.VisitorBase):
171 assert type in asdl.builtin_types, type
[all...] |
/external/python/cpython2/Parser/ |
asdl_c.py | 2 """Generate C code from an ASDL description.""" 9 import asdl 17 This function special cases the default types provided by asdl: 21 if isinstance(name, asdl.Id): 23 if name in asdl.builtin_types: 82 class EmitVisitor(asdl.VisitorBase): 171 assert type in asdl.builtin_types, type [all...] |
/external/python/cpython3/Parser/ |
asdl_c.py | 2 """Generate C code from an ASDL description.""" 6 import asdl 14 This function special cases the default types provided by asdl. 16 if name in asdl.builtin_types: 75 class EmitVisitor(asdl.VisitorBase): 172 assert type in asdl.builtin_types, type 205 assert type in asdl.builtin_types, type [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/ |
Python2710.inf | 77 Python/asdl.c
|
/prebuilts/gdb/darwin-x86/lib/python2.7/config/ |
Makefile | 306 AST_ASDL= $(srcdir)/Parser/Python.asdl 308 ASDLGEN_FILES= $(srcdir)/Parser/asdl.py $(srcdir)/Parser/asdl_c.py 317 Python/asdl.o \ 692 Include/asdl.h \ [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/config/ |
Makefile | 307 AST_ASDL= $(srcdir)/Parser/Python.asdl 309 ASDLGEN_FILES= $(srcdir)/Parser/asdl.py $(srcdir)/Parser/asdl_c.py 318 Python/asdl.o \ 693 Include/asdl.h \ [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/config/ |
Makefile | 306 AST_ASDL= $(srcdir)/Parser/Python.asdl 308 ASDLGEN_FILES= $(srcdir)/Parser/asdl.py $(srcdir)/Parser/asdl_c.py 317 Python/asdl.o \ 692 Include/asdl.h \ [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/config/ |
Makefile | 307 AST_ASDL= $(srcdir)/Parser/Python.asdl 309 ASDLGEN_FILES= $(srcdir)/Parser/asdl.py $(srcdir)/Parser/asdl_c.py 318 Python/asdl.o \ 693 Include/asdl.h \ [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/ |
PythonCore.inf | 83 Python-$(PYTHON_VERSION)/Python/asdl.c
|