/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestTreeGrammarRewriteAST.java | 57 String treeGrammar = in testFlatList() local 64 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testFlatList() 77 String treeGrammar = in testSimpleTree() local 84 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testSimpleTree() 96 String treeGrammar = in testNonImaginaryWithCtor() local 103 treeGrammar, "TP", "TLexer", "a", "a", "34"); in testNonImaginaryWithCtor() 116 String treeGrammar = in testCombinedRewriteAndAuto() local 123 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testCombinedRewriteAndAuto() 127 treeGrammar, "TP", "TLexer", "a", "a", "34"); in testCombinedRewriteAndAuto() 140 String treeGrammar = in testAvoidDup() local [all …]
|
D | TestTreeParsing.java | 44 String treeGrammar = in testFlatList() local 51 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testFlatList() 64 String treeGrammar = in testSimpleTree() local 71 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testSimpleTree() 86 String treeGrammar = in testFlatVsTreeDecision() local 94 treeGrammar, "TP", "TLexer", "a", "a", "a 1 b 2"); in testFlatVsTreeDecision() 109 String treeGrammar = in testFlatVsTreeDecision2() local 117 treeGrammar, "TP", "TLexer", "a", "a", in testFlatVsTreeDecision2() 133 String treeGrammar = in testCyclicDFALookahead() local 140 treeGrammar, "TP", "TLexer", "a", "a", "a 1 2 3."); in testCyclicDFALookahead() [all …]
|
D | TestHeteroAST.java | 358 String treeGrammar = in testTreeParserRewriteFlatList() local 375 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testTreeParserRewriteFlatList() 388 String treeGrammar = in testTreeParserRewriteTree() local 405 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testTreeParserRewriteTree() 418 String treeGrammar = in testTreeParserRewriteImaginary() local 432 treeGrammar, "TP", "TLexer", "a", "a", "abc"); in testTreeParserRewriteImaginary() 445 String treeGrammar = in testTreeParserRewriteImaginaryWithArgs() local 460 treeGrammar, "TP", "TLexer", "a", "a", "abc"); in testTreeParserRewriteImaginaryWithArgs() 473 String treeGrammar = in testTreeParserRewriteImaginaryRoot() local 487 treeGrammar, "TP", "TLexer", "a", "a", "abc"); in testTreeParserRewriteImaginaryRoot() [all …]
|
D | TestSyntacticPredicateEvaluation.java | 303 String treeGrammar = in testTreeParserWithSynPred() local 311 treeGrammar, "TP", "TLexer", "a", "a", "a 1 2 3;"); in testTreeParserWithSynPred() 327 String treeGrammar = in testTreeParserWithNestedSynPred() local 338 treeGrammar, "TP", "TLexer", "a", "a", "a 1 2 3."); in testTreeParserWithNestedSynPred()
|
D | TestRewriteTemplates.java | 207 String treeGrammar = in testSingleNode() local 214 treeGrammar, "TP", "TLexer", "a", "s", "abc"); in testSingleNode() 227 String treeGrammar = in testSingleNodeRewriteMode() local 234 treeGrammar, "TP", "TLexer", "a", "s", "abc"); in testSingleNodeRewriteMode()
|
/external/antlr/runtime/Python/tests/ |
D | t051treeRewriteAST.py | 29 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument 31 walkerCls = self.compileInlineGrammar(treeGrammar) 63 treeGrammar = textwrap.dedent( 78 treeGrammar, 'a', 99 treeGrammar = textwrap.dedent( 113 treeGrammar, 'a', 134 treeGrammar = textwrap.dedent( 148 treeGrammar, 'a', 157 treeGrammar, 'a', 178 treeGrammar = textwrap.dedent( [all …]
|
D | t049treeparser.py | 35 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument 37 walkerCls = self.compileInlineGrammar(treeGrammar) 65 treeGrammar = textwrap.dedent( 78 treeGrammar, 'a', 99 treeGrammar = textwrap.dedent( 112 treeGrammar, 'a', 134 treeGrammar = textwrap.dedent( 148 treeGrammar, 'a', 169 treeGrammar = textwrap.dedent( 183 treeGrammar, 'a', [all …]
|
D | t053hetero.py | 78 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument 80 walkerCls = self.compileInlineGrammar(treeGrammar) 618 treeGrammar = textwrap.dedent( 645 treeGrammar, 'a', 666 treeGrammar = textwrap.dedent( 693 treeGrammar, 'a', 714 treeGrammar = textwrap.dedent( 741 treeGrammar, 'a', 762 treeGrammar = textwrap.dedent( 789 treeGrammar, 'a', [all …]
|
D | t054main.py | 203 treeGrammar = textwrap.dedent( 216 walkerMod = self.compileInlineGrammar(treeGrammar, returnModule=True) 244 treeGrammar = textwrap.dedent( 259 walkerMod = self.compileInlineGrammar(treeGrammar, returnModule=True)
|
D | t055templates.py | 434 treeGrammar = textwrap.dedent( 478 walkerCls = self.compileInlineGrammar(treeGrammar)
|
D | t057autoAST.py | 92 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument 94 walkerCls = self.compileInlineGrammar(treeGrammar)
|
D | t058rewriteAST.py | 92 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument 94 walkerCls = self.compileInlineGrammar(treeGrammar)
|
/external/antlr/runtime/Python3/tests/ |
D | t051treeRewriteAST.py | 29 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument 31 walkerCls = self.compileInlineGrammar(treeGrammar) 63 treeGrammar = textwrap.dedent( 78 treeGrammar, 'a', 99 treeGrammar = textwrap.dedent( 113 treeGrammar, 'a', 134 treeGrammar = textwrap.dedent( 148 treeGrammar, 'a', 157 treeGrammar, 'a', 178 treeGrammar = textwrap.dedent( [all …]
|
D | t049treeparser.py | 35 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument 37 walkerCls = self.compileInlineGrammar(treeGrammar) 65 treeGrammar = textwrap.dedent( 78 treeGrammar, 'a', 99 treeGrammar = textwrap.dedent( 112 treeGrammar, 'a', 134 treeGrammar = textwrap.dedent( 148 treeGrammar, 'a', 169 treeGrammar = textwrap.dedent( 183 treeGrammar, 'a', [all …]
|
D | t053hetero.py | 78 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument 80 walkerCls = self.compileInlineGrammar(treeGrammar) 618 treeGrammar = textwrap.dedent( 645 treeGrammar, 'a', 666 treeGrammar = textwrap.dedent( 693 treeGrammar, 'a', 714 treeGrammar = textwrap.dedent( 741 treeGrammar, 'a', 762 treeGrammar = textwrap.dedent( 789 treeGrammar, 'a', [all …]
|
D | t054main.py | 196 treeGrammar = textwrap.dedent( 209 walkerMod = self.compileInlineGrammar(treeGrammar, returnModule=True) 237 treeGrammar = textwrap.dedent( 252 walkerMod = self.compileInlineGrammar(treeGrammar, returnModule=True)
|
D | t057autoAST.py | 92 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument 94 walkerCls = self.compileInlineGrammar(treeGrammar)
|
D | t058rewriteAST.py | 92 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument 94 walkerCls = self.compileInlineGrammar(treeGrammar)
|