Home
last modified time | relevance | path

Searched refs:toStringTree (Results 1 – 25 of 65) sorted by relevance

123

/external/antlr/runtime/Python3/tests/
Dt042ast.py42 r.tree.toStringTree(),
50 r.tree.toStringTree(),
58 r.tree.toStringTree(),
66 r.tree.toStringTree(),
74 r.tree.toStringTree(),
82 r.tree.toStringTree(),
90 r.tree.toStringTree(),
98 r.tree.toStringTree(),
106 r.tree.toStringTree(),
114 r.tree.toStringTree(),
[all …]
/external/antlr/runtime/Python/tests/
Dt042ast.py42 r.tree.toStringTree(),
50 r.tree.toStringTree(),
58 r.tree.toStringTree(),
66 r.tree.toStringTree(),
74 r.tree.toStringTree(),
82 r.tree.toStringTree(),
90 r.tree.toStringTree(),
98 r.tree.toStringTree(),
106 r.tree.toStringTree(),
114 r.tree.toStringTree(),
[all …]
/external/antlr/tool/src/test/java/org/antlr/test/
DTestASTConstruction.java47 String found = g.getRule("a").tree.toStringTree(); in testA()
57 String found = g.getRule("a").tree.toStringTree(); in testEmptyAlt()
68 String found = g.getRule("A").tree.toStringTree(); in testNakeRulePlusInLexer()
79 String found = g.getRule("a").tree.toStringTree(); in testRulePlus()
90 String found = g.getRule("a").tree.toStringTree(); in testNakedRulePlus()
101 String found = g.getRule("a").tree.toStringTree(); in testRuleOptional()
112 String found = g.getRule("a").tree.toStringTree(); in testNakedRuleOptional()
123 String found = g.getRule("a").tree.toStringTree(); in testRuleStar()
134 String found = g.getRule("a").tree.toStringTree(); in testNakedRuleStar()
144 String found = g.getRule("a").tree.toStringTree(); in testCharStar()
[all …]
DTestTrees.java257 assertEquals(expecting, t.toStringTree()); in testReplaceWithOneChildren()
270 assertEquals(expecting, t.toStringTree()); in testReplaceInMiddle()
283 assertEquals(expecting, t.toStringTree()); in testReplaceAtLeft()
296 assertEquals(expecting, t.toStringTree()); in testReplaceAtRight()
312 assertEquals(expecting, t.toStringTree()); in testReplaceOneWithTwoAtLeft()
328 assertEquals(expecting, t.toStringTree()); in testReplaceOneWithTwoAtRight()
344 assertEquals(expecting, t.toStringTree()); in testReplaceOneWithTwoInMiddle()
358 assertEquals(expecting, t.toStringTree()); in testReplaceTwoWithOneAtLeft()
372 assertEquals(expecting, t.toStringTree()); in testReplaceTwoWithOneAtRight()
386 assertEquals(expecting, t.toStringTree()); in testReplaceAllWithOne()
[all …]
DTestInterpretedParsing.java73 String result = t.toStringTree(); in testSimpleParse()
108 String result = t.toStringTree(); in testMismatchedTokenError()
143 String result = t.toStringTree(); in testMismatchedSetError()
178 String result = t.toStringTree(); in testNoViableAltError()
DTestTreeWizard.java51 String found = t.toStringTree(); in testSingleNode()
59 String found = t.toStringTree(); in testSingleNodeWithArg()
67 String found = t.toStringTree(); in testSingleNodeTree()
75 String found = t.toStringTree(); in testSingleLevelTree()
83 String found = t.toStringTree(); in testListTree()
97 String found = t.toStringTree(); in testDoubleLevelTree()
323 assertEquals("(A T__32 (C (D a)))", t.toStringTree()); in testParseWithText2()
/external/antlr/runtime/ObjC/Framework/examples/polydiff/
Dmain.m23 NSLog(@"tree=%@", [r.tree toStringTree]);
31 NSLog("d/dx=%@", [r2.tree toStringTree]);
38 NSLog("simplified=%@", [r3.tree toStringTree]);
DSimplifier.g24 | ^('+' p=poly q=poly)-> { [[$p.tree toStringTree] isEqualToString:@"0"] }? $q
25 -> { [[$q.tree toStringTree] isEqualToString:@"0"] }? $p
/external/antlr/runtime/C/src/
Dantlr3basetree.c54 static pANTLR3_STRING toStringTree (pANTLR3_BASE_TREE tree);
68 tree->toStringTree = toStringTree; in antlr3BaseTreeNew()
292 toStringTree (pANTLR3_BASE_TREE tree) in toStringTree() function
326 string->appendS(string, t->toStringTree(t)); in toStringTree()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeRewriter.java105 System.out.println(((Tree)oldTree).toStringTree()+" -> "+ in reportTransformation()
106 ((Tree)newTree).toStringTree()); in reportTransformation()
/external/antlr/runtime/ObjC/Framework/examples/treeparser/
Dmain.m21 System.out.println("tree: "+((Tree)r.tree).toStringTree());
45 NSLog( @"tree: %@", [r.tree toStringTree]);
DMain.java12 System.out.println("tree: "+((Tree)r.tree).toStringTree()); in main()
/external/antlr/runtime/Python/unittests/
Dtesttreewizard.py286 found = t.toStringTree()
294 found = t.toStringTree()
302 found = t.toStringTree()
310 found = t.toStringTree()
318 found = t.toStringTree()
332 found = t.toStringTree()
576 self.assertEquals("(A T__32 (C (D a)))", t.toStringTree())
Dtesttree.py757 self.failUnlessEqual(expecting, t.toStringTree())
770 self.failUnlessEqual(expecting, t.toStringTree())
783 self.failUnlessEqual(expecting, t.toStringTree())
796 self.failUnlessEqual(expecting, t.toStringTree())
812 self.failUnlessEqual(expecting, t.toStringTree())
828 self.failUnlessEqual(expecting, t.toStringTree())
844 self.failUnlessEqual(expecting, t.toStringTree())
858 self.failUnlessEqual(expecting, t.toStringTree())
872 self.failUnlessEqual(expecting, t.toStringTree())
886 self.failUnlessEqual(expecting, t.toStringTree())
[all …]
/external/antlr/runtime/Python3/unittests/
Dtesttreewizard.py285 found = t.toStringTree()
293 found = t.toStringTree()
301 found = t.toStringTree()
309 found = t.toStringTree()
317 found = t.toStringTree()
331 found = t.toStringTree()
574 self.assertEqual("(A T__32 (C (D a)))", t.toStringTree())
Dtesttree.py748 self.assertEqual(expecting, t.toStringTree())
761 self.assertEqual(expecting, t.toStringTree())
774 self.assertEqual(expecting, t.toStringTree())
787 self.assertEqual(expecting, t.toStringTree())
803 self.assertEqual(expecting, t.toStringTree())
819 self.assertEqual(expecting, t.toStringTree())
835 self.assertEqual(expecting, t.toStringTree())
849 self.assertEqual(expecting, t.toStringTree())
863 self.assertEqual(expecting, t.toStringTree())
877 self.assertEqual(expecting, t.toStringTree())
[all …]
/external/antlr/runtime/ObjC/Framework/
DBaseTree.m166 //System.out.println("add child "+t.toStringTree()+" "+self.toStringTree());
260 " with "+((BaseTree)t).toStringTree());
261 System.out.println("in="+toStringTree());
315 //System.out.println("out="+toStringTree());
521 [buf appendString:[(id<BaseTree>)t toStringTree]];
530 - (NSString *) toStringTree
DBaseTree.h96 - (NSString *) toStringTree;
171 - (NSString *) toStringTree;
/external/antlr/runtime/JavaScript/tests/functional/
Dt057autoAST41.g4 $result = "x="+$x[1].toStringTree()+',';
Dt057autoAST42.g4 $result = "1st x="+$x[0].toStringTree()+',';
Dt057autoAST40.g5 $result = "2nd x="+t.toStringTree()+',';
Dt051treeRewriteASTabWalker.g10 s : ^(ID a) { this.buf += $s.start.toStringTree() };
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DBaseTree.js250 toStringTree: function() {
267 buf += t.toStringTree();
/external/antlr/runtime/Python3/antlr3/
Dmain.py191 self.writeln(args, result.tree.toStringTree())
232 self.writeln(args, result.tree.toStringTree())
/external/antlr/runtime/Python/antlr3/
Dmain.py239 self.writeln(options, result.tree.toStringTree())
303 self.writeln(options, result.tree.toStringTree())

123