/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ITreeFixture.cs | 59 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/ |
D | BaseTree.cs | 112 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()
|
D | BaseTreeAdaptor.cs | 231 r.ChildIndex = -1; in RulePostProcessing() 484 return tree.ChildIndex; in GetChildIndex() 493 tree.ChildIndex = index; in SetChildIndex()
|
D | ITree.cs | 83 int ChildIndex property
|
D | CommonTree.cs | 107 public override int ChildIndex property in Antlr.Runtime.Tree.CommonTree
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | BaseTree.cs | 95 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()
|
D | CommonTreeAdaptor.cs | 204 return ((ITree)t).ChildIndex; in GetChildIndex() 209 ((ITree)t).ChildIndex = index; in SetChildIndex()
|
D | ITree.cs | 79 int ChildIndex { property
|
D | CommonTree.cs | 97 public override int ChildIndex { property in Antlr.Runtime.Tree.CommonTree
|
D | BaseTreeAdaptor.cs | 188 r.ChildIndex = -1; in RulePostProcessing()
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRTreeWizard.h | 42 - (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/ |
D | ANTLRTreeWizard.h | 42 - (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/Framework/ |
D | ANTLRTreeWizard.h | 43 - (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
|
D | ANTLRTreeWizard.m | 69 - (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/ |
D | ANTLRTreeWizard.h | 42 - (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/ |
D | Antlr.Runtime.Tree.Tests.pas | 137 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/ |
D | TreeExtensions.cs | 41 return tree.Parent.GetChild( tree.ChildIndex + 1 ); in getNextSibling()
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
D | Antlr.Runtime.Tree.pas | 498 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, 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/ |
D | DefineGrammarItemsWalker.g | 354 // GrammarAST rewriteAST = (GrammarAST)$start.Parent.getChild($start.ChildIndex + 1);
|