Home
last modified time | relevance | path

Searched refs:root_1 (Results 1 – 15 of 15) sorted by relevance

/external/smali/smali/src/main/java/org/jf/smali/
DsmaliParser.java667 CommonTree root_1 = (CommonTree)adaptor.nil(); in smali_file() local
668root_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/
DSimpleCParser.java219 Object root_1 = (Object)adaptor.nil(); in declaration() local
220root_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
265root_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 …]
DSimpleCParser.m1164 … 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/
DPolyDifferentiator.m340 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 …]
DSimplifier.m567 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];
722root_1 = (CommonTree *)[treeAdaptor becomeRoot:/* ASTTreeParser createRewriteNodeFromElement */
724 old:root_1];
726 [treeAdaptor addChild:[stream_p nextTree] toTree:root_1];
730 toTree:root_1];
[all …]
DPolyParser.m500 … 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/
DDebugGrammarParser.cs412 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 …]
DProfileGrammarParser.cs416 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/
DTreeRewriteParser.m255 CommonTree *root_1 = (CommonTree *)[[[treeAdaptor class] newEmptyTree] retain];
256root_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/
DITreeFixture.cs241 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/
DTestTrees.java229 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/
DLangParser.m374 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/
Dtest-trees.rb618 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/
Dtesttree.py723 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/
Dtesttree.py720 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)