Home
last modified time | relevance | path

Searched refs:AddChild (Results 1 – 25 of 61) sorted by relevance

123

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DITreeFixture.cs67 r0.AddChild(new CommonTree(new CommonToken(102))); in test4Nodes()
68 r0.GetChild(0).AddChild(new CommonTree(new CommonToken(103))); in test4Nodes()
69 r0.AddChild(new CommonTree(new CommonToken(104))); in test4Nodes()
81 r0.AddChild(c0 = new CommonTree(new CommonToken(101))); in testList()
82 r0.AddChild(c1 = new CommonTree(new CommonToken(102))); in testList()
83 r0.AddChild(c2 = new CommonTree(new CommonToken(103))); in testList()
105 r0.AddChild(c0 = new CommonTree(new CommonToken(101))); in testList2()
106 r0.AddChild(c1 = new CommonTree(new CommonToken(102))); in testList2()
107 r0.AddChild(c2 = new CommonTree(new CommonToken(103))); in testList2()
109 root.AddChild(r0); in testList2()
[all …]
DITreeNodeStreamFixture.cs78 t.AddChild(new CommonTree(new CommonToken(102))); in test4Nodes()
79 t.GetChild(0).AddChild(new CommonTree(new CommonToken(103))); in test4Nodes()
80 t.AddChild(new CommonTree(new CommonToken(104))); in test4Nodes()
98 t.AddChild(new CommonTree(new CommonToken(102))); in testList()
99 t.GetChild(0).AddChild(new CommonTree(new CommonToken(103))); in testList()
100 t.AddChild(new CommonTree(new CommonToken(104))); in testList()
104 root.AddChild(t); in testList()
105 root.AddChild(u); in testList()
122 root.AddChild(new CommonTree(new CommonToken(101))); in testFlatList()
123 root.AddChild(new CommonTree(new CommonToken(102))); in testFlatList()
[all …]
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas212 R0.AddChild(TCommonTree.Create(TCommonToken.Create(102)));
213 R0.GetChild(0).AddChild(TCommonTree.Create(TCommonToken.Create(103)));
214 R0.AddChild(TCommonTree.Create(TCommonToken.Create(104)));
226 Root.AddChild(TCommonTree.Create(TCommonToken.Create(6)));
233 R0.AddChild(C0);
234 R0.AddChild(C1);
235 R0.AddChild(C2);
237 Root.AddChild(R0);
259 OldRoot.AddChild(TCommonTree.Create(TCommonToken.Create(101)));
260 OldRoot.AddChild(TCommonTree.Create(TCommonToken.Create(102)));
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DParseTreeBuilder.cs86 parentRuleNode.AddChild(ruleNode); in EnterRule()
95 ruleNode.AddChild(EpsilonNode()); in ExitRule()
107 ruleNode.AddChild(elementNode); in ConsumeToken()
121 ruleNode.AddChild(errorNode); in RecognitionException()
DDebugTreeAdaptor.cs96 dbg.AddChild(t, child); in SimulateTreeConstruction()
116 public virtual void AddChild(object t, object child) { in AddChild() method in Antlr.Runtime.Debug.DebugTreeAdaptor
120 adaptor.AddChild(t, child); in AddChild()
121 dbg.AddChild(t, child); in AddChild()
134 public virtual void AddChild(object t, IToken child) { in AddChild() method in Antlr.Runtime.Debug.DebugTreeAdaptor
136 this.AddChild(t, n); in AddChild()
DDebugEventRepeater.cs152 public virtual void AddChild(object root, object child) { in AddChild() method in Antlr.Runtime.Debug.DebugEventRepeater
153 _listener.AddChild(root, child); in AddChild()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DParseTreeBuilder.cs96 parentRuleNode.AddChild( ruleNode ); in EnterRule()
107 ruleNode.AddChild( EpsilonNode() ); in ExitRule()
120 ruleNode.AddChild( elementNode ); in ConsumeToken()
136 ruleNode.AddChild( errorNode ); in RecognitionException()
DDebugTreeAdaptor.cs106 dbg.AddChild( t, child ); in SimulateTreeConstruction()
150 public virtual void AddChild( object t, object child ) in AddChild() method in Antlr.Runtime.Debug.DebugTreeAdaptor
156 adaptor.AddChild( t, child ); in AddChild()
157 dbg.AddChild( t, child ); in AddChild()
172 public virtual void AddChild( object t, IToken child ) in AddChild() method in Antlr.Runtime.Debug.DebugTreeAdaptor
175 this.AddChild( t, n ); in AddChild()
DDebugEventRepeater.cs185 public virtual void AddChild( object root, object child ) in AddChild() method in Antlr.Runtime.Debug.DebugEventRepeater
187 _listener.AddChild( root, child ); in AddChild()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DDebugGrammarParser.cs200 adaptor.AddChild(root_0, stat1.Tree); in prog()
360 adaptor.AddChild(root_0, stream_expr.NextTree()); 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()
464 adaptor.AddChild(root_0, stream_func.NextTree()); in stat()
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()
651 adaptor.AddChild(root_0, root_1); in func()
[all …]
DProfileGrammarParser.cs204 adaptor.AddChild(root_0, stat1.Tree); in prog()
364 adaptor.AddChild(root_0, stream_expr.NextTree()); 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()
468 adaptor.AddChild(root_0, stream_func.NextTree()); in stat()
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()
655 adaptor.AddChild(root_0, root_1); in func()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTreeAdaptor.cs103 AddChild(newTree, newSubTree); in DupTree()
117 public virtual void AddChild(object t, object child) { in AddChild() method in Antlr.Runtime.Tree.BaseTreeAdaptor
119 ((ITree)t).AddChild((ITree)child); in AddChild()
173 newRootTree.AddChild(oldRootTree); in BecomeRoot()
DTreePatternParser.cs77 adaptor.AddChild(root, subtree); in ParseTree()
83 adaptor.AddChild(root, child); in ParseTree()
DITree.cs92 void AddChild(ITree t); in AddChild() method
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DAST.stg313 adaptor.AddChild(root_<enclosingTreeLevel>, root_<treeLevel>);
327 adaptor.AddChild(root_<treeLevel>, <createRewriteNodeFromElement(...)>);<\n>
332 adaptor.AddChild(root_<treeLevel>, stream_<label>.NextNode());<\n>
337 adaptor.AddChild(root_<treeLevel>, stream_<label>.NextNode());<\n>
354 adaptor.AddChild(root_<treeLevel>, <createImaginaryNode(tokenType=token, ...)>);<\n>
374 adaptor.AddChild(root_<treeLevel>, stream_<rule>.NextTree());<\n>
382 adaptor.AddChild(root_<treeLevel>, <action>);<\n>
391 adaptor.AddChild(root_<treeLevel>, stream_<label>.NextTree());<\n>
396 adaptor.AddChild(root_<treeLevel>, stream_<label>.NextTree());<\n>
410 adaptor.AddChild(root_<treeLevel>, stream_<label>.NextTree());<\n>
DASTParser.stg56 adaptor.AddChild(root_0, <label>_tree);
104 …f(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>adaptor.AddChild(root_0, <createNo…
128 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>adaptor.AddChild(root_0, <label>.…
164 adaptor.AddChild(root_0, <label>_tree);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DAST.stg311 adaptor.AddChild(root_<enclosingTreeLevel>, root_<treeLevel>);
325 adaptor.AddChild(root_<treeLevel>, <createRewriteNodeFromElement(...)>);<\n>
330 adaptor.AddChild(root_<treeLevel>, stream_<label>.NextNode());<\n>
335 adaptor.AddChild(root_<treeLevel>, stream_<label>.NextNode());<\n>
352 adaptor.AddChild(root_<treeLevel>, <createImaginaryNode(tokenType=token, ...)>);<\n>
372 adaptor.AddChild(root_<treeLevel>, stream_<rule>.NextTree());<\n>
380 adaptor.AddChild(root_<treeLevel>, <action>);<\n>
389 adaptor.AddChild(root_<treeLevel>, stream_<label>.NextTree());<\n>
394 adaptor.AddChild(root_<treeLevel>, stream_<label>.NextTree());<\n>
408 adaptor.AddChild(root_<treeLevel>, stream_<label>.NextTree());<\n>
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTreeAdaptor.cs135 AddChild( newTree, newSubTree ); in DupTree()
149 public virtual void AddChild( object t, object child ) in AddChild() method in Antlr.Runtime.Tree.BaseTreeAdaptor
153 ( (ITree)t ).AddChild( (ITree)child ); in AddChild()
211 newRootTree.AddChild( oldRootTree ); in BecomeRoot()
DTreePatternParser.cs89 adaptor.AddChild( root, subtree ); in ParseTree()
98 adaptor.AddChild( root, child ); in ParseTree()
DITree.cs97 void AddChild( ITree t ); in AddChild() method
/external/webrtc/webrtc/base/
Dtaskparent.cc26 parent_->AddChild(derived_instance); in TaskParent()
45 void TaskParent::AddChild(Task *child) { in AddChild() function in rtc::TaskParent
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DAST.stg331 Adaptor.AddChild(Root[<enclosingTreeLevel>], Root[<treeLevel>]);
344 Adaptor.AddChild(Root[<treeLevel>], <createRewriteNodeFromElement(...)>);<\n>
349 Adaptor.AddChild(Root[<treeLevel>], (Locals['Stream_<label>'] as IRewriteRuleElementStream).NextNod…
354 Adaptor.AddChild(Root[<treeLevel>], (Locals['Stream_<label>'] as IRewriteRuleElementStream).NextNod…
371 Adaptor.AddChild(Root[<treeLevel>], <createImaginaryNode(tokenType=token, ...)>);<\n>
391 Adaptor.AddChild(Root[<treeLevel>], (Locals['Stream_<rule>'] as IRewriteRuleElementStream).NextTree…
399 Adaptor.AddChild(Root[<treeLevel>], <action>);<\n>
408 Adaptor.AddChild(Root[<treeLevel>], (Locals['Stream_<label>'] as IRewriteRuleElementStream).NextTre…
413 Adaptor.AddChild(Root[<treeLevel>], (Locals['Stream_<label>'] as IRewriteRuleElementStream).NextTre…
DASTParser.stg60 Adaptor.AddChild(Root[0], <label>_tree);
115 …Code={<if(backtracking)>if (State.Backtracking = 0) then <endif>Adaptor.AddChild(Root[0], <createN…
139 <if(backtracking)>if (State.Backtracking = 0) then <endif>Adaptor.AddChild(Root[0], <label>.Tree);
178 Adaptor.AddChild(Root[0], <label>_tree);
/external/libweave/src/notification/
Dxml_node_unittest.cc33 node_->AddChild(std::move(stanza)); in OnStanza()
91 TEST_F(XmlNodeTest, AddChild) { in TEST_F() argument
93 node_->AddChild(std::move(child)); in TEST_F()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DTreeExtensions.cs48 tree.AddChild( child ); in setFirstChild()

123