Home
last modified time | relevance | path

Searched refs:GrammarParser (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Lib/test/test_peg_generator/
Dtest_pegen.py11 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 …]
Dtest_c_parser.py18 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)
Dtest_first_sets.py8 from pegen.grammar_parser import GeneratedParser as GrammarParser unknown
16 grammar: Grammar = parse_string(grammar_source, GrammarParser)
/external/python/cpython3/Tools/peg_generator/pegen/
Dtestutil.py15 from pegen.grammar_parser import GeneratedParser as GrammarParser unknown
61 grammar = parse_string(source, GrammarParser)
Dbuild.py12 from pegen.grammar_parser import GeneratedParser as GrammarParser unknown
108 parser = GrammarParser(tokenizer, verbose=verbose_parser)
/external/python/cpython3/Parser/pgen/
Dpgen.py94 from .metaparser import GrammarParser
152 for nfa in GrammarParser(self.grammar).parse():
Dmetaparser.py9 class GrammarParser: class