Searched refs:childIndex (Results 1 - 25 of 43) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DCommonTree.cs63 int childIndex = -1; field in class:Antlr.Runtime.Tree.CommonTree
99 return childIndex;
102 childIndex = value;
H A DTreeWizard.cs70 void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels); argument
74 public virtual void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels) { argument
259 public void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels) { argument
316 protected virtual void VisitCore(object t, object parent, int childIndex, int ttype, IContextVisitor visitor) { argument
321 visitor.Visit(t, parent, childIndex, null);
343 public void Visit(object t, object parent, int childIndex, IDictionary<string, object> unusedlabels) { argument
347 _visitor.Visit(t, parent, childIndex, _labels);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DCommonTree.cs63 int childIndex = -1; field in class:Antlr.Runtime.Tree.CommonTree
111 return childIndex;
116 childIndex = value;
H A DTreeWizard.cs73 void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels ); argument
78 public virtual void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels ) argument
296 public void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels ) argument
362 protected virtual void VisitCore( object t, object parent, int childIndex, int ttype, IContextVisitor visitor ) argument
370 visitor.Visit( t, parent, childIndex, null );
395 public void Visit( object t, object parent, int childIndex, IDictionary<string, object> unusedlabels ) argument
401 _visitor.Visit( t, parent, childIndex, _labels );
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DCommonTree.js15 this.childIndex = -1;
104 return this.childIndex;
116 this.childIndex = index;
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestTrees.java53 assertEquals(-1, t.childIndex);
63 assertEquals(-1, root_0.childIndex);
64 assertEquals(0, t.childIndex);
65 assertEquals(1, u.childIndex);
76 assertEquals(-1, r0.childIndex);
88 assertEquals(-1, r0.childIndex);
90 assertEquals(0, c0.childIndex);
92 assertEquals(1, c1.childIndex);
94 assertEquals(2, c2.childIndex);
112 assertEquals(-1, root.childIndex);
[all...]
H A DTestTreeWizard.java193 public void visit(Object t, Object parent, int childIndex, Map labels) {
196 "["+childIndex+"]");
210 public void visit(Object t, Object parent, int childIndex, Map labels) {
213 "["+childIndex+"]");
242 public void visit(Object t, Object parent, int childIndex, Map labels) {
245 "["+childIndex+"]");
259 public void visit(Object t, Object parent, int childIndex, Map labels) {
262 "["+childIndex+"]"+labels.get("a")+"&"+labels.get("b"));
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DBaseTree.as100 c.childIndex = children.length-1;
117 childTree.childIndex = children.length-1;
141 t.childIndex = i;
185 child.childIndex= i;
227 child.childIndex = c;
240 if ( i!=this.childIndex ) {
241 throw new Error("child indexes don't match; expected "+i+" found "+this.childIndex);
251 public function get childIndex():int {
255 public function set childIndex(index:int):void {
H A DCommonTree.as136 public override function get childIndex():int {
148 public override function set childIndex(index:int):void {
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DCommonTree.java51 public int childIndex = -1; field in class:CommonTree
158 return childIndex;
170 this.childIndex = index;
H A DTreeWizard.java59 public void visit(Object t, Object parent, int childIndex, Map labels); argument
63 public void visit(Object t, Object parent, int childIndex, Map labels) { argument
227 public void visit(Object t, Object parent, int childIndex, Map labels) {
254 protected void _visit(Object t, Object parent, int childIndex, int ttype, ContextVisitor visitor) { argument
259 visitor.visit(t, parent, childIndex, null);
289 public void visit(Object t, Object parent, int childIndex, Map unusedlabels) {
293 visitor.visit(t, parent, childIndex, labels);
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3commontree.h74 ANTLR3_INT32 childIndex; member in struct:ANTLR3_COMMON_TREE_struct
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRCommonTree.h36 NSInteger childIndex; variable
83 @property (assign, getter=getChildIndex, setter=setChildIndex:) NSInteger childIndex;
90 @property (assign) NSInteger childIndex; variable
H A DANTLRTreeWizard.h43 - (void) visit:(ANTLRCommonTree *)t Parent:(ANTLRCommonTree *)parent ChildIndex:(NSInteger)childIndex Map:(ANTLRMap *)labels;
57 - (void) visit:(ANTLRCommonTree *)t Parent:(ANTLRCommonTree *)parent ChildIndex:(NSInteger)childIndex Map:(ANTLRMap *)labels;
121 ChildIndex:(NSInteger)childIndex
/external/webkit/Source/WebCore/inspector/front-end/
H A DProfileDataGridTree.js148 for (var childIndex = 0; childIndex < childCount; ++childIndex)
149 children[childIndex]._recalculateSiblings(childIndex);
H A Dtreeoutline.js139 TreeOutline._removeChildAtIndex = function(childIndex)
141 if (childIndex < 0 || childIndex >= this.children.length)
142 throw("childIndex out of range");
144 var child = this.children[childIndex];
145 this.children.splice(childIndex, 1);
179 var childIndex = this.children.indexOf(child);
180 if (childIndex === -1)
183 TreeOutline._removeChildAtIndex.call(this, childIndex);
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRCommonTree.h36 NSInteger childIndex; variable
43 @property (assign, getter=getChildIndex, setter=setChildIndex) NSInteger childIndex; variable
H A DANTLRTreeWizard.h42 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(ANTLRMap *)labels;
56 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(ANTLRMap *)labels;
121 ChildIndex:(NSInteger)childIndex
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRCommonTree.h36 NSInteger childIndex; variable
43 @property (assign, getter=getChildIndex, setter=setChildIndex) NSInteger childIndex; variable
H A DANTLRTreeWizard.h42 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(ANTLRMap *)labels;
56 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(ANTLRMap *)labels;
121 ChildIndex:(NSInteger)childIndex
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRCommonTree.h36 NSInteger childIndex; variable
43 @property (assign, getter=getChildIndex, setter=setChildIndex) NSInteger childIndex; variable
H A DANTLRTreeWizard.h42 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(ANTLRMap *)labels;
56 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(ANTLRMap *)labels;
121 ChildIndex:(NSInteger)childIndex
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dtreewizard.py422 def visitor(tree, parent, childIndex, labels):
447 def visitor(tree, parent, childIndex, label):
482 def _visitType(self, t, parent, childIndex, ttype, visitor):
489 visitor(t, parent, childIndex, None)
513 def rootvisitor(tree, parent, childIndex, labels):
516 visitor(tree, parent, childIndex, labels)
/external/antlr/antlr-3.4/runtime/Python/unittests/
H A Dtesttreewizard.py375 def visitor(node, parent, childIndex, labels):
389 def visitor(node, parent, childIndex, labels):
403 def visitor(node, parent, childIndex, labels):
417 def visitor(node, parent, childIndex, labels):
431 def visitor(node, parent, childIndex, labels):
432 elements.append('%s@%s[%d]' % (node, parent, childIndex))
445 def visitor(node, parent, childIndex, labels):
448 % (node, ['nil', parent][parent is not None], childIndex)
462 def visitor(node, parent, childIndex, labels):
478 def visitor(node, parent, childIndex, label
[all...]
H A Dtesttree.py64 self.assertEquals(-1, root_0.childIndex)
65 self.assertEquals(0, t.childIndex)
66 self.assertEquals(1, u.childIndex)
560 self.failUnlessEqual(-1, t.childIndex)
571 self.failUnlessEqual(-1, r0.childIndex)
585 self.failUnlessEqual(-1, r0.childIndex)
587 self.failUnlessEqual(0, c0.childIndex)
589 self.failUnlessEqual(1, c1.childIndex)
591 self.failUnlessEqual(2, c2.childIndex)
611 self.failUnlessEqual(-1, root.childIndex)
[all...]

Completed in 285 milliseconds

12