Home
last modified time | relevance | path

Searched refs:ChildIndex (Results 1 – 19 of 19) sorted by relevance

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DITreeFixture.cs59 Assert.AreEqual(-1, t.ChildIndex); in testSingleNode()
72 Assert.AreEqual(-1, r0.ChildIndex); in test4Nodes()
86 Assert.AreEqual(-1, r0.ChildIndex); in testList()
88 Assert.AreEqual(0, c0.ChildIndex); in testList()
90 Assert.AreEqual(1, c1.ChildIndex); in testList()
92 Assert.AreEqual(2, c2.ChildIndex); in testList()
112 Assert.AreEqual(-1, root.ChildIndex); in testList2()
115 Assert.AreEqual(0, c0.ChildIndex); in testList2()
117 Assert.AreEqual(1, c1.ChildIndex); in testList2()
119 Assert.AreEqual(2, c2.ChildIndex); in testList2()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTree.cs112 public virtual int ChildIndex property in Antlr.Runtime.Tree.BaseTree
231 c.ChildIndex = Children.Count - 1; in AddChild()
252 t.ChildIndex = Children.Count - 1; in AddChild()
286 t.ChildIndex = i; in SetChild()
370 child.ChildIndex = i; in ReplaceChildren()
426 child.ChildIndex = c; in FreshenParentAndChildIndexes()
442 if ( i != this.ChildIndex ) in SanityCheckParentAndChildIndexes()
444 …alidOperationException( "child indexes don't match; expected " + i + " found " + this.ChildIndex ); in SanityCheckParentAndChildIndexes()
DBaseTreeAdaptor.cs231 r.ChildIndex = -1; in RulePostProcessing()
484 return tree.ChildIndex; in GetChildIndex()
493 tree.ChildIndex = index; in SetChildIndex()
DITree.cs83 int ChildIndex property
DCommonTree.cs107 public override int ChildIndex property in Antlr.Runtime.Tree.CommonTree
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTree.cs95 public virtual int ChildIndex { property in Antlr.Runtime.Tree.BaseTree
193 c.ChildIndex = children.Count - 1; in AddChild()
209 t.ChildIndex = children.Count - 1; in AddChild()
238 t.ChildIndex = i; in SetChild()
311 child.ChildIndex = i; in ReplaceChildren()
355 child.ChildIndex = c; in FreshenParentAndChildIndexes()
368 if (i != this.ChildIndex) { in SanityCheckParentAndChildIndexes()
369 …nvalidOperationException("child indexes don't match; expected " + i + " found " + this.ChildIndex); in SanityCheckParentAndChildIndexes()
DCommonTreeAdaptor.cs204 return ((ITree)t).ChildIndex; in GetChildIndex()
209 ((ITree)t).ChildIndex = index; in SetChildIndex()
DITree.cs79 int ChildIndex { property
DCommonTree.cs97 public override int ChildIndex { property in Antlr.Runtime.Tree.CommonTree
DBaseTreeAdaptor.cs188 r.ChildIndex = -1; in RulePostProcessing()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTreeWizard.h43 - (void) visit:(ANTLRCommonTree *)t Parent:(ANTLRCommonTree *)parent ChildIndex:(NSInteger)childInd…
57 - (void) visit:(ANTLRCommonTree *)t Parent:(ANTLRCommonTree *)parent ChildIndex:(NSInteger)childInd…
121 ChildIndex:(NSInteger)childIndex
DANTLRTreeWizard.m69 - (void) visit:(ANTLRCommonTree *)t Parent:(ANTLRCommonTree *)parent ChildIndex:(NSInteger)childInd…
75 [self visit:t Parent:parent ChildIndex:childIndex Map:object2 /* labels */];
413 [self _visit:t Parent:nil ChildIndex:0 Type:ttype Visitor:visitor];
419 ChildIndex:(NSInteger)childIndex
427 [visitor visit:t Parent:parent ChildIndex:childIndex Map:nil];
432 [self _visit:child Parent:t ChildIndex:i Type:ttype Visitor:visitor];
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRTreeWizard.h42 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
56 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
121 ChildIndex:(NSInteger)childIndex
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRTreeWizard.h42 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
56 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
121 ChildIndex:(NSInteger)childIndex
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRTreeWizard.h42 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
56 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
121 ChildIndex:(NSInteger)childIndex
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas137 procedure Visit(const T, Parent: IANTLRInterface; const ChildIndex: Integer;
150 procedure Visit(const T, Parent: IANTLRInterface; const ChildIndex: Integer;
216 CheckEquals(R0.ChildIndex,-1);
240 CheckEquals(Root.ChildIndex, -1);
244 Check(C0.ChildIndex = 1);
246 Check(C1.ChildIndex = 2);
248 Check(C2.ChildIndex = 3);
351 CheckEquals(Dup.ChildIndex, -1);
369 CheckEquals(R0.ChildIndex, -1);
371 CheckEquals(C0.ChildIndex, 0);
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DTreeExtensions.cs41 return tree.Parent.GetChild( tree.ChildIndex + 1 ); in getNextSibling()
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas498 property ChildIndex: Integer read GetChildIndex write SetChildIndex; property
581 property ChildIndex: Integer read GetChildIndex write SetChildIndex; property
907 procedure Visit(const T, Parent: IANTLRInterface; const ChildIndex: Integer;
1726 procedure Visit(const T, Parent: IANTLRInterface; const ChildIndex: Integer;
1777 procedure Visit(const T, Parent: IANTLRInterface; const ChildIndex: Integer;
1793 procedure Visit(const T, Parent: IANTLRInterface; const ChildIndex: Integer;
1828 procedure _Visit(const T, Parent: IANTLRInterface; const ChildIndex, argument
2156 C.ChildIndex := FChildren.Count - 1;
2176 ChildTree.ChildIndex := FChildren.Count - 1;
2221 Child.ChildIndex := C;
[all …]
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DDefineGrammarItemsWalker.g354 // GrammarAST rewriteAST = (GrammarAST)$start.Parent.getChild($start.ChildIndex + 1);