Lines Matching refs:grammar
63 def execParser(self, grammar, grammarEntry, input): argument
64 lexerCls, parserCls = self.compileInlineGrammar(grammar)
78 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument
79 lexerCls, parserCls = self.compileInlineGrammar(grammar)
101 grammar = textwrap.dedent(
121 grammar, 'a',
129 grammar = textwrap.dedent(
142 grammar, 'a',
149 grammar = textwrap.dedent(
168 grammar, 'a',
176 grammar = textwrap.dedent(
194 found = self.execParser(grammar, 'a', input="a")
199 grammar = textwrap.dedent(
219 grammar, 'a',
227 grammar = textwrap.dedent(
247 grammar, 'a',
255 grammar = textwrap.dedent(
275 grammar, 'a',
283 grammar = textwrap.dedent(
303 grammar, 'a',
311 grammar = textwrap.dedent(
331 grammar, 'a',
339 grammar = textwrap.dedent(
359 grammar, 'a',
369 grammar = textwrap.dedent(
389 grammar, 'a',
397 grammar = textwrap.dedent(
443 grammar, 'a',
451 grammar = textwrap.dedent(
472 grammar, 'a',
480 grammar = textwrap.dedent(
500 grammar, 'a',
508 grammar = textwrap.dedent(
529 grammar, 'a',
536 grammar = textwrap.dedent(
567 grammar, 'a',
573 grammar = textwrap.dedent(
598 grammar, 'a',
605 grammar = textwrap.dedent(
644 grammar, 'a',
653 grammar = textwrap.dedent(
692 grammar, 'a',
701 grammar = textwrap.dedent(
740 grammar, 'a',
749 grammar = textwrap.dedent(
788 grammar, 'a',
797 grammar = textwrap.dedent(
835 grammar, 'a',
844 grammar = textwrap.dedent(
886 grammar, 'a',
895 grammar = textwrap.dedent(
930 grammar, 'a',