/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestTreeGrammarRewriteAST.java | 56 String treeGrammar = in testFlatList() local 63 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testFlatList() 76 String treeGrammar = in testSimpleTree() local 83 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testSimpleTree() 95 String treeGrammar = in testNonImaginaryWithCtor() local 102 treeGrammar, "TP", "TLexer", "a", "a", "34"); in testNonImaginaryWithCtor() 115 String treeGrammar = in testCombinedRewriteAndAuto() local 122 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testCombinedRewriteAndAuto() 126 treeGrammar, "TP", "TLexer", "a", "a", "34"); in testCombinedRewriteAndAuto() 139 String treeGrammar = in testAvoidDup() local [all …]
|
D | TestTreeParsing.java | 42 String treeGrammar = in testFlatList() local 49 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testFlatList() 62 String treeGrammar = in testSimpleTree() local 69 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testSimpleTree() 84 String treeGrammar = in testFlatVsTreeDecision() local 92 treeGrammar, "TP", "TLexer", "a", "a", "a 1 b 2"); in testFlatVsTreeDecision() 107 String treeGrammar = in testFlatVsTreeDecision2() local 115 treeGrammar, "TP", "TLexer", "a", "a", in testFlatVsTreeDecision2() 131 String treeGrammar = in testCyclicDFALookahead() local 138 treeGrammar, "TP", "TLexer", "a", "a", "a 1 2 3."); in testCyclicDFALookahead() [all …]
|
D | TestHeteroAST.java | 356 String treeGrammar = in testTreeParserRewriteFlatList() local 373 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testTreeParserRewriteFlatList() 386 String treeGrammar = in testTreeParserRewriteTree() local 403 treeGrammar, "TP", "TLexer", "a", "a", "abc 34"); in testTreeParserRewriteTree() 416 String treeGrammar = in testTreeParserRewriteImaginary() local 430 treeGrammar, "TP", "TLexer", "a", "a", "abc"); in testTreeParserRewriteImaginary() 443 String treeGrammar = in testTreeParserRewriteImaginaryWithArgs() local 458 treeGrammar, "TP", "TLexer", "a", "a", "abc"); in testTreeParserRewriteImaginaryWithArgs() 471 String treeGrammar = in testTreeParserRewriteImaginaryRoot() local 485 treeGrammar, "TP", "TLexer", "a", "a", "abc"); in testTreeParserRewriteImaginaryRoot() [all …]
|
D | TestSyntacticPredicateEvaluation.java | 301 String treeGrammar = in testTreeParserWithSynPred() local 309 treeGrammar, "TP", "TLexer", "a", "a", "a 1 2 3;"); in testTreeParserWithSynPred() 325 String treeGrammar = in testTreeParserWithNestedSynPred() local 336 treeGrammar, "TP", "TLexer", "a", "a", "a 1 2 3."); in testTreeParserWithNestedSynPred()
|
D | TestRewriteTemplates.java | 205 String treeGrammar = in testSingleNode() local 212 treeGrammar, "TP", "TLexer", "a", "s", "abc"); in testSingleNode() 225 String treeGrammar = in testSingleNodeRewriteMode() local 232 treeGrammar, "TP", "TLexer", "a", "s", "abc"); in testSingleNodeRewriteMode()
|
/external/antlr/antlr-3.4/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)
|