Home
last modified time | relevance | path

Searched refs:treeGrammar (Results 1 – 12 of 12) sorted by relevance

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTreeGrammarRewriteAST.java56 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 …]
DTestTreeParsing.java42 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 …]
DTestHeteroAST.java356 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 …]
DTestSyntacticPredicateEvaluation.java301 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()
DTestRewriteTemplates.java205 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/
Dt051treeRewriteAST.py29 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 …]
Dt049treeparser.py35 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 …]
Dt053hetero.py78 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 …]
Dt054main.py203 treeGrammar = textwrap.dedent(
216 walkerMod = self.compileInlineGrammar(treeGrammar, returnModule=True)
244 treeGrammar = textwrap.dedent(
259 walkerMod = self.compileInlineGrammar(treeGrammar, returnModule=True)
Dt055templates.py434 treeGrammar = textwrap.dedent(
478 walkerCls = self.compileInlineGrammar(treeGrammar)
Dt057autoAST.py92 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument
94 walkerCls = self.compileInlineGrammar(treeGrammar)
Dt058rewriteAST.py92 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument
94 walkerCls = self.compileInlineGrammar(treeGrammar)