Home
last modified time | relevance | path

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

/external/antlr/tool/src/test/java/org/antlr/test/
DTestTreeGrammarRewriteAST.java57 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 …]
DTestTreeParsing.java44 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 …]
DTestHeteroAST.java358 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 …]
DTestSyntacticPredicateEvaluation.java303 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()
DTestRewriteTemplates.java207 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/
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)
/external/antlr/runtime/Python3/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.py196 treeGrammar = textwrap.dedent(
209 walkerMod = self.compileInlineGrammar(treeGrammar, returnModule=True)
237 treeGrammar = textwrap.dedent(
252 walkerMod = self.compileInlineGrammar(treeGrammar, returnModule=True)
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)