/external/smali/smali/src/main/java/org/jf/smali/ |
D | smaliParser.java | 667 CommonTree root_1 = (CommonTree)adaptor.nil(); in smali_file() local 668 …root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(I_CLASS_DEF, "I_CLASS_DEF"), ro… in smali_file() 669 adaptor.addChild(root_1, stream_class_spec.nextTree()); in smali_file() 672 adaptor.addChild(root_1, stream_super_spec.nextTree()); in smali_file() 678 adaptor.addChild(root_1, stream_implements_spec.nextTree()); in smali_file() 684 adaptor.addChild(root_1, stream_source_spec.nextTree()); in smali_file() 698 adaptor.addChild(root_1, root_2); in smali_file() 711 adaptor.addChild(root_1, root_2); in smali_file() 714 …adaptor.addChild(root_1, buildTree(I_ANNOTATIONS, "I_ANNOTATIONS", smali_file_stack.peek().classAn… in smali_file() 715 adaptor.addChild(root_0, root_1); in smali_file() [all …]
|
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/ |
D | SimpleCParser.java | 219 Object root_1 = (Object)adaptor.nil(); in declaration() local 220 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(FUNC_DECL, "FUNC_DECL"), root_1); in declaration() 222 adaptor.addChild(root_1, stream_functionHeader.nextTree()); in declaration() 224 adaptor.addChild(root_0, root_1); in declaration() 264 Object root_1 = (Object)adaptor.nil(); in declaration() local 265 … root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(FUNC_DEF, "FUNC_DEF"), root_1); in declaration() 267 adaptor.addChild(root_1, stream_functionHeader.nextTree()); in declaration() 268 adaptor.addChild(root_1, stream_block.nextTree()); in declaration() 270 adaptor.addChild(root_0, root_1); in declaration() 357 Object root_1 = (Object)adaptor.nil(); in variable() local [all …]
|
D | SimpleCParser.m | 1164 … CommonTree *root_1 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain]; 1165 root_1 = (CommonTree *)[treeAdaptor becomeRoot: 1167 old:root_1]; 1169 [treeAdaptor addChild:[stream_functionHeader nextTree] toTree:root_1]; 1171 [treeAdaptor addChild:root_1 toTree:root_0]; 1223 … CommonTree *root_1 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain]; 1224 root_1 = (CommonTree *)[treeAdaptor becomeRoot: 1226 old:root_1]; 1228 [treeAdaptor addChild:[stream_functionHeader nextTree] toTree:root_1]; 1230 [treeAdaptor addChild:[stream_block nextTree] toTree:root_1]; [all …]
|
/external/antlr/runtime/ObjC/Framework/examples/polydiff/ |
D | PolyDifferentiator.m | 340 CommonTree *root_1 = [[[treeAdaptor class] newEmptyTree] retain]; 348 root_1 = (CommonTree *)[treeAdaptor becomeRoot:char_literal1_tree old:root_1]; 362 [treeAdaptor addChild:poly2.tree toTree:root_1]; 374 [treeAdaptor addChild:poly3.tree toTree:root_1]; 378 [treeAdaptor addChild:root_1 toTree:root_0]; 396 CommonTree *root_1 = [[[treeAdaptor class] newEmptyTree] retain]; 419 [treeAdaptor addChild:root_1 toTree:root_0]; 463 CommonTree *root_1 = [[[treeAdaptor class] newEmptyTree] retain]; 507 [treeAdaptor addChild:root_2 toTree:root_1]; 513 [treeAdaptor addChild:root_1 toTree:root_0]; [all …]
|
D | Simplifier.m | 567 CommonTree *root_1 = [[[treeAdaptor class] newEmptyTree] retain]; 590 [treeAdaptor addChild:root_1 toTree:root_0]; 636 CommonTree *root_1 = [[[treeAdaptor class] newEmptyTree] retain]; 680 [treeAdaptor addChild:root_2 toTree:root_1]; 692 [treeAdaptor addChild:root_1 toTree:root_0]; 721 … CommonTree *root_1 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain]; 722 … root_1 = (CommonTree *)[treeAdaptor becomeRoot:/* ASTTreeParser createRewriteNodeFromElement */ 724 old:root_1]; 726 [treeAdaptor addChild:[stream_p nextTree] toTree:root_1]; 730 toTree:root_1]; [all …]
|
D | PolyParser.m | 500 … CommonTree *root_1 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain]; 501 root_1 = (CommonTree *)[treeAdaptor becomeRoot: 503 old:root_1]; 508 toTree:root_1]; 513 toTree:root_1]; 515 [treeAdaptor addChild:root_1 toTree:root_0]; 562 … CommonTree *root_1 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain]; 563 root_1 = (CommonTree *)[treeAdaptor becomeRoot: 565 old:root_1]; 570 toTree:root_1]; [all …]
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
D | DebugGrammarParser.cs | 412 CommonTree root_1 = (CommonTree)adaptor.Nil(); in stat() 414 root_1 = (CommonTree)adaptor.BecomeRoot(stream_17.NextNode(), root_1); in stat() 417 adaptor.AddChild(root_1, stream_ID.NextNode()); in stat() 419 adaptor.AddChild(root_1, stream_expr.NextTree()); in stat() 421 adaptor.AddChild(root_0, root_1); in stat() 640 CommonTree root_1 = (CommonTree)adaptor.Nil(); in func() 642 root_1 = (CommonTree)adaptor.BecomeRoot((CommonTree)adaptor.Create(FUNC, "FUNC"), root_1); in func() 645 adaptor.AddChild(root_1, stream_ID.NextNode()); in func() 647 adaptor.AddChild(root_1, stream_formalPar.NextTree()); in func() 649 adaptor.AddChild(root_1, stream_expr.NextTree()); in func() [all …]
|
D | ProfileGrammarParser.cs | 416 CommonTree root_1 = (CommonTree)adaptor.Nil(); in stat() 418 root_1 = (CommonTree)adaptor.BecomeRoot(stream_17.NextNode(), root_1); in stat() 421 adaptor.AddChild(root_1, stream_ID.NextNode()); in stat() 423 adaptor.AddChild(root_1, stream_expr.NextTree()); in stat() 425 adaptor.AddChild(root_0, root_1); in stat() 644 CommonTree root_1 = (CommonTree)adaptor.Nil(); in func() 646 root_1 = (CommonTree)adaptor.BecomeRoot((CommonTree)adaptor.Create(FUNC, "FUNC"), root_1); in func() 649 adaptor.AddChild(root_1, stream_ID.NextNode()); in func() 651 adaptor.AddChild(root_1, stream_formalPar.NextTree()); in func() 653 adaptor.AddChild(root_1, stream_expr.NextTree()); in func() [all …]
|
/external/antlr/runtime/ObjC/Framework/examples/treerewrite/ |
D | TreeRewriteParser.m | 255 CommonTree *root_1 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain]; 256 … root_1 = (CommonTree *)[treeAdaptor becomeRoot:(id<Tree>)[stream_subrule nextNode] old:root_1]; 261 toTree:root_1]; 263 [treeAdaptor addChild:root_1 toTree:root_0];
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ITreeFixture.cs | 241 CommonTree root_1 = (CommonTree)adaptor.Nil(); in testBecomeRoot6() 242 root_1 = (CommonTree)adaptor.BecomeRoot(new CommonTree(new CommonToken(5)), root_1); in testBecomeRoot6() 244 adaptor.AddChild(root_1, new CommonTree(new CommonToken(6))); in testBecomeRoot6() 246 adaptor.AddChild(root_0, root_1); in testBecomeRoot6()
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestTrees.java | 229 CommonTree root_1 = (CommonTree)adaptor.nil(); in testBecomeRoot6() local 230 root_1 = (CommonTree)adaptor.becomeRoot(new CommonTree(new CommonToken(5)), root_1); in testBecomeRoot6() 232 adaptor.addChild(root_1, new CommonTree(new CommonToken(6))); in testBecomeRoot6() 234 adaptor.addChild(root_0, root_1); in testBecomeRoot6()
|
/external/antlr/runtime/ObjC/Framework/examples/treeparser/ |
D | LangParser.m | 374 CommonTree *root_1 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain]; 375 root_1 = (CommonTree *)[treeAdaptor becomeRoot: 377 old:root_1]; 379 [treeAdaptor addChild:[stream_type nextTree] toTree:root_1]; 384 toTree:root_1]; 386 [treeAdaptor addChild:root_1 toTree:root_0];
|
/external/antlr/runtime/Ruby/test/unit/ |
D | test-trees.rb | 618 root_1 = @adaptor.create_flat_list 619 root_1 = @adaptor.become_root( new_node( new_token 5 ), root_1 ) 621 @adaptor.add_child( root_1, new_node( new_token 6 ) ) 622 @adaptor.add_child( root_0, root_1 )
|
/external/antlr/runtime/Python/unittests/ |
D | testtree.py | 723 root_1 = self.adaptor.nil() 724 root_1 = self.adaptor.becomeRoot(CommonTree(CommonToken(5)), root_1) 726 self.adaptor.addChild(root_1, CommonTree(CommonToken(6))) 728 self.adaptor.addChild(root_0, root_1)
|
/external/antlr/runtime/Python3/unittests/ |
D | testtree.py | 720 root_1 = self.adaptor.nil() 721 root_1 = self.adaptor.becomeRoot(CommonTree(CommonToken(5)), root_1) 723 self.adaptor.addChild(root_1, CommonTree(CommonToken(6))) 725 self.adaptor.addChild(root_0, root_1)
|