Searched refs:pgen2_driver (Results 1 - 4 of 4) sorted by relevance

/external/python/cpython2/Lib/lib2to3/tests/
H A Dsupport.py14 from lib2to3.pgen2 import driver as pgen2_driver namespace
19 grammar = pgen2_driver.load_grammar(grammar_path)
20 driver = pgen2_driver.Driver(grammar, convert=pytree.convert)
H A Dtest_parser.py22 from lib2to3.pgen2 import driver as pgen2_driver namespace
39 pgen2_driver.load_grammar(support.grammar_path, save=False, force=True)
49 pickle_name = pgen2_driver._generate_pickle_name(grammar_copy)
51 pgen2_driver.load_grammar(grammar_copy, save=True, force=True)
55 pgen2_driver.load_grammar(grammar_copy, save=False, force=False)
70 pickle_name = pgen2_driver._generate_pickle_name(grammar_copy)
71 pickle_sub_name = pgen2_driver._generate_pickle_name(
76 pgen2_driver.load_grammar(grammar_copy, save=True, force=True)
85 from lib2to3.pgen2 import driver as pgen2_driver
86 pgen2_driver
[all...]
/external/python/cpython3/Lib/lib2to3/tests/
H A Dsupport.py12 from lib2to3.pgen2 import driver as pgen2_driver namespace
17 grammar = pgen2_driver.load_grammar(grammar_path)
18 driver = pgen2_driver.Driver(grammar, convert=pytree.convert)
H A Dtest_parser.py24 from lib2to3.pgen2 import driver as pgen2_driver namespace
41 pgen2_driver.load_grammar(support.grammar_path, save=False, force=True)
51 pickle_name = pgen2_driver._generate_pickle_name(grammar_copy)
53 pgen2_driver.load_grammar(grammar_copy, save=True, force=True)
57 pgen2_driver.load_grammar(grammar_copy, save=False, force=False)
72 pickle_name = pgen2_driver._generate_pickle_name(grammar_copy)
73 pickle_sub_name = pgen2_driver._generate_pickle_name(
78 pgen2_driver.load_grammar(grammar_copy, save=True, force=True)
87 from lib2to3.pgen2 import driver as pgen2_driver
88 pgen2_driver
[all...]

Completed in 732 milliseconds