Home
last modified time | relevance | path

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

123

/external/antlr/antlr-3.4/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/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestASTConstruction.java45 String found = g.getRule("a").tree.toStringTree(); in testA()
55 String found = g.getRule("a").tree.toStringTree(); in testEmptyAlt()
66 String found = g.getRule("A").tree.toStringTree(); in testNakeRulePlusInLexer()
77 String found = g.getRule("a").tree.toStringTree(); in testRulePlus()
88 String found = g.getRule("a").tree.toStringTree(); in testNakedRulePlus()
99 String found = g.getRule("a").tree.toStringTree(); in testRuleOptional()
110 String found = g.getRule("a").tree.toStringTree(); in testNakedRuleOptional()
121 String found = g.getRule("a").tree.toStringTree(); in testRuleStar()
132 String found = g.getRule("a").tree.toStringTree(); in testNakedRuleStar()
142 String found = g.getRule("a").tree.toStringTree(); in testCharStar()
[all …]
DTestTrees.java260 assertEquals(expecting, t.toStringTree()); in testReplaceWithOneChildren()
273 assertEquals(expecting, t.toStringTree()); in testReplaceInMiddle()
286 assertEquals(expecting, t.toStringTree()); in testReplaceAtLeft()
299 assertEquals(expecting, t.toStringTree()); in testReplaceAtRight()
315 assertEquals(expecting, t.toStringTree()); in testReplaceOneWithTwoAtLeft()
331 assertEquals(expecting, t.toStringTree()); in testReplaceOneWithTwoAtRight()
347 assertEquals(expecting, t.toStringTree()); in testReplaceOneWithTwoInMiddle()
361 assertEquals(expecting, t.toStringTree()); in testReplaceTwoWithOneAtLeft()
375 assertEquals(expecting, t.toStringTree()); in testReplaceTwoWithOneAtRight()
389 assertEquals(expecting, t.toStringTree()); in testReplaceAllWithOne()
[all …]
DTestInterpretedParsing.java71 String result = t.toStringTree(); in testSimpleParse()
106 String result = t.toStringTree(); in testMismatchedTokenError()
141 String result = t.toStringTree(); in testMismatchedSetError()
176 String result = t.toStringTree(); in testNoViableAltError()
DTestTreeWizard.java50 String found = t.toStringTree(); in testSingleNode()
58 String found = t.toStringTree(); in testSingleNodeWithArg()
66 String found = t.toStringTree(); in testSingleNodeTree()
74 String found = t.toStringTree(); in testSingleLevelTree()
82 String found = t.toStringTree(); in testListTree()
96 String found = t.toStringTree(); in testDoubleLevelTree()
313 assertEquals("(A T__32 (C (D a)))", t.toStringTree()); in testParseWithText2()
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3basetree.c54 static pANTLR3_STRING toStringTree (pANTLR3_BASE_TREE tree);
68 tree->toStringTree = toStringTree; in antlr3BaseTreeNew()
288 toStringTree (pANTLR3_BASE_TREE tree) in toStringTree() function
322 string->appendS(string, t->toStringTree(t)); in toStringTree()
/external/antlr/antlr-3.4/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/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeRewriter.java103 System.out.println(((Tree)oldTree).toStringTree()+" -> "+ in reportTransformation()
104 ((Tree)newTree).toStringTree()); in reportTransformation()
DTree.java124 String toStringTree(); in toStringTree() method
DBaseTree.java342 public String toStringTree() { in toStringTree() method in BaseTree
357 buf.append(t.toStringTree()); in toStringTree()
/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/runtime/ObjC/Framework/
DANTLRBaseTree.m161 //System.out.println("add child "+t.toStringTree()+" "+self.toStringTree());
255 " with "+((ANTLRBaseTree)t).toStringTree());
256 System.out.println("in="+toStringTree());
310 //System.out.println("out="+toStringTree());
516 [buf appendString:[(id<ANTLRBaseTree>)t toStringTree]];
525 - (NSString *) toStringTree
DANTLRBaseTree.h96 - (NSString *) toStringTree;
171 - (NSString *) toStringTree;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRBaseTree.h94 - (NSString *) toStringTree;
167 - (NSString *) toStringTree;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRBaseTree.h94 - (NSString *) toStringTree;
167 - (NSString *) toStringTree;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRBaseTree.h94 - (NSString *) toStringTree;
167 - (NSString *) toStringTree;
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DBaseTree.js250 toStringTree: function() {
267 buf += t.toStringTree();
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dmain.py239 self.writeln(options, result.tree.toStringTree())
303 self.writeln(options, result.tree.toStringTree())
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3basetree.h123 pANTLR3_STRING (*toStringTree) (struct ANTLR3_BASE_TREE_struct * tree); member

123