Searched refs:GrammarParser (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/test/test_peg_generator/ |
D | test_pegen.py | 11 from pegen.grammar_parser import GeneratedParser as GrammarParser unknown 35 grammar: Grammar = parse_string(grammar_source, GrammarParser) 59 grammar: Grammar = parse_string(grammar_source, GrammarParser) 68 rules = parse_string(grammar, GrammarParser).rules 82 rules = parse_string(grammar, GrammarParser).rules 304 grammar: Grammar = parse_string(grammar_source, GrammarParser) 356 grammar: Grammar = parse_string(grammar_source, GrammarParser) 368 grammar: Grammar = parse_string(grammar_source, GrammarParser) 383 grammar: Grammar = parse_string(grammar_source, GrammarParser) 436 grammar: Grammar = parse_string(grammar_source, GrammarParser) [all …]
|
D | test_c_parser.py | 18 from pegen.grammar_parser import GeneratedParser as GrammarParser unknown 85 grammar = parse_string(grammar_source, GrammarParser) 393 grammar = parse_string(grammar_source, GrammarParser) 417 grammar = parse_string(grammar_source, GrammarParser) 426 grammar = parse_string(grammar_source, GrammarParser)
|
D | test_first_sets.py | 8 from pegen.grammar_parser import GeneratedParser as GrammarParser unknown 16 grammar: Grammar = parse_string(grammar_source, GrammarParser)
|
/external/python/cpython3/Tools/peg_generator/pegen/ |
D | testutil.py | 15 from pegen.grammar_parser import GeneratedParser as GrammarParser unknown 61 grammar = parse_string(source, GrammarParser)
|
D | build.py | 12 from pegen.grammar_parser import GeneratedParser as GrammarParser unknown 108 parser = GrammarParser(tokenizer, verbose=verbose_parser)
|
/external/python/cpython3/Parser/pgen/ |
D | pgen.py | 94 from .metaparser import GrammarParser 152 for nfa in GrammarParser(self.grammar).parse():
|
D | metaparser.py | 9 class GrammarParser: class
|