Home
last modified time | relevance | path

Searched refs:childTree (Results 1 – 11 of 11) sorted by relevance

/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DBaseTree.js54 var childTree = t, n, i, c;
55 if ( childTree.isNil() ) { // t is an empty node possibly with children
56 if ( this.children && this.children == childTree.children ) {
60 if ( childTree.children ) {
62 n = childTree.children.length;
64 c = childTree.children[i];
74 this.children = childTree.children;
84 childTree.setParent(this);
85 childTree.setChildIndex(this.children.length-1);
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DBaseTree.java95 BaseTree childTree = (BaseTree)t; in addChild() local
96 if ( childTree.isNil() ) { // t is an empty node possibly with children in addChild()
97 if ( this.children!=null && this.children == childTree.children ) { in addChild()
101 if ( childTree.children!=null ) { in addChild()
103 int n = childTree.children.size(); in addChild()
105 Tree c = (Tree)childTree.children.get(i); in addChild()
115 this.children = childTree.children; in addChild()
125 childTree.setParent(this); in addChild()
126 childTree.setChildIndex(children.size()-1); in addChild()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTree.cs176 BaseTree childTree = t as BaseTree; in AddChild()
177 … if (childTree != null && this.children != null && this.children == childTree.children) { in AddChild()
182 if (this.children != null || childTree == null) { in AddChild()
198 this.children = childTree.children; in AddChild()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTree.cs210 BaseTree childTree = t as BaseTree; in AddChild()
211 … if ( childTree != null && this.Children != null && this.Children == childTree.Children ) in AddChild()
218 if ( this.Children != null || childTree == null ) in AddChild()
238 this.Children = childTree.Children; in AddChild()
DCommonTree.cs261 foreach (ITree childTree in Children) in SetUnknownTokenBoundaries()
263 CommonTree commonTree = childTree as CommonTree; in SetUnknownTokenBoundaries()
DBaseTreeAdaptor.cs323 ITree childTree = GetTree(child); in SetChild()
324 tree.SetChild(i, childTree); in SetChild()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DBaseTree.as86 var childTree:BaseTree = BaseTree(t);
87 if ( childTree.isNil ) { // t is an empty node possibly with children
88 if ( this._children!=null && this._children == childTree._children ) {
91 // just add all of childTree's children to this
92 if ( childTree._children!=null ) {
94 var n:int = childTree._children.length;
96 var c:Tree = Tree(childTree._children[i]);
106 this._children = childTree.children;
116 childTree.parent = this;
117 childTree.childIndex = children.length-1;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRBaseTree.m168 id<ANTLRBaseTree> childTree = (id<ANTLRBaseTree>) t;
169 if ( [childTree isNil] ) { // t is an empty node possibly with children
170 if ( children != nil && children == childTree.children ) {
173 // just add all of childTree's children to this
174 if ( childTree.children != nil ) {
176 int n = [childTree.children count];
178 id<ANTLRBaseTree> c = (id<ANTLRBaseTree>)[childTree.children objectAtIndex:i];
188 children = childTree.children;
198 [childTree setParent:(id<ANTLRBaseTree>)self];
199 [childTree setChildIndex:[children count]-1];
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtree.py729 def addChild(self, childTree): argument
740 if childTree is None:
743 if childTree.isNil():
746 if self.children is childTree.children:
750 for idx, child in enumerate(childTree.children):
754 self.children += childTree.children
758 self.children.append(childTree)
759 childTree.parent = self
760 childTree.childIndex = len(self.children) - 1
/external/antlr/antlr-3.4/lib/
Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...