Searched refs:pgen2_driver (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/lib2to3/tests/ |
D | support.py | 12 from lib2to3.pgen2 import driver as pgen2_driver unknown 17 grammar = pgen2_driver.load_grammar(grammar_path) 18 grammar_no_print_statement = pgen2_driver.load_grammar(grammar_path) 20 driver = pgen2_driver.Driver(grammar, convert=pytree.convert) 21 driver_no_print_statement = pgen2_driver.Driver(
|
D | test_parser.py | 26 from lib2to3.pgen2 import driver as pgen2_driver unknown 43 pgen2_driver.load_grammar(support.grammar_path, save=False, force=True) 53 pickle_name = pgen2_driver._generate_pickle_name(grammar_copy) 55 pgen2_driver.load_grammar(grammar_copy, save=True, force=True) 59 pgen2_driver.load_grammar(grammar_copy, save=False, force=False) 74 pickle_name = pgen2_driver._generate_pickle_name(grammar_copy) 75 pickle_sub_name = pgen2_driver._generate_pickle_name( 80 pgen2_driver.load_grammar(grammar_copy, save=True, force=True) 114 g = pgen2_driver.load_packaged_grammar(modname, 'Grammar.txt')
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_parser.py | 25 from lib2to3.pgen2 import driver as pgen2_driver unknown 42 pgen2_driver.load_grammar(support.grammar_path, save=False, force=True) 52 pickle_name = pgen2_driver._generate_pickle_name(grammar_copy) 54 pgen2_driver.load_grammar(grammar_copy, save=True, force=True) 58 pgen2_driver.load_grammar(grammar_copy, save=False, force=False) 73 pickle_name = pgen2_driver._generate_pickle_name(grammar_copy) 74 pickle_sub_name = pgen2_driver._generate_pickle_name( 79 pgen2_driver.load_grammar(grammar_copy, save=True, force=True) 113 g = pgen2_driver.load_packaged_grammar(modname, 'Grammar.txt')
|
D | support.py | 14 from lib2to3.pgen2 import driver as pgen2_driver unknown 19 grammar = pgen2_driver.load_grammar(grammar_path) 20 driver = pgen2_driver.Driver(grammar, convert=pytree.convert)
|