/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.js | 95 becomeRoot: function(newRoot, oldRoot) { argument 96 if (newRoot instanceof org.antlr.runtime.Token || !newRoot) { 97 newRoot = this.create(newRoot); 100 var newRootTree = newRoot, 103 return newRoot;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRTreeException.m | 38 + (id) newException:(id<ANTLRBaseTree>)theOldRoot newRoot:(id<ANTLRBaseTree>)theNewRoot stream:(id<… 40 return [[ANTLRTreeException alloc] initWithOldRoot:theOldRoot newRoot:theNewRoot stream:aStream]; 43 - (id) initWithOldRoot:(id<ANTLRBaseTree>)theOldRoot newRoot:(id<ANTLRBaseTree>)theNewRoot stream:(… 64 if (newRoot != aTree) { 66 if ( newRoot ) [newRoot release]; 67 newRoot = aTree; 82 …: <%@> new root: <%@>", [super description], [oldRoot treeDescription], [newRoot treeDescription]];
|
D | ANTLRTreeException.h | 33 id<ANTLRBaseTree> newRoot; variable 36 + (id) newException:(id<ANTLRBaseTree>)theOldRoot newRoot:(id<ANTLRBaseTree>)theNewRoot stream:(id<… 37 - (id) initWithOldRoot:(id<ANTLRBaseTree>)theOldRoot newRoot:(id<ANTLRBaseTree>)theNewRoot stream:(…
|
D | ANTLRBaseTreeAdaptor.m | 146 /** If oldRoot is a nil root, just copy or move the children to newRoot. 147 * If not a nil root, make oldRoot a child of newRoot. 152 * If newRoot is a nil-rooted single child tree, use the single 158 * If oldRoot was null, it's ok, just return newRoot (even if isNil). 163 * Return newRoot. Throw an exception if newRoot is not a 165 * node. If newRoot is ^(nil x) return x as newRoot. 167 * Be advised that it's ok for newRoot to point at oldRoot's 172 - (id)becomeRoot:(id)newRoot old:(id)oldRoot 175 return newRoot; 177 //System.out.println("becomeroot new "+newRoot.toString()+" old "+oldRoot); [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ITreeFixture.cs | 175 CommonTree newRoot = new CommonTree(new CommonToken(5)); in testBecomeRoot() 183 adaptor.BecomeRoot(newRoot, oldRoot); in testBecomeRoot() 184 newRoot.SanityCheckParentAndChildIndexes(); in testBecomeRoot() 191 CommonTree newRoot = new CommonTree(new CommonToken(5)); in testBecomeRoot2() 198 adaptor.BecomeRoot(newRoot, oldRoot); in testBecomeRoot2() 199 newRoot.SanityCheckParentAndChildIndexes(); in testBecomeRoot2() 206 CommonTree newRoot = new CommonTree((IToken)null); in testBecomeRoot3() 207 newRoot.AddChild(new CommonTree(new CommonToken(5))); in testBecomeRoot3() 215 adaptor.BecomeRoot(newRoot, oldRoot); in testBecomeRoot3() 216 newRoot.SanityCheckParentAndChildIndexes(); in testBecomeRoot3() [all …]
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestTrees.java | 169 CommonTree newRoot = new CommonTree(new CommonToken(5)); in testBecomeRoot() local 177 adaptor.becomeRoot(newRoot, oldRoot); in testBecomeRoot() 178 newRoot.sanityCheckParentAndChildIndexes(); in testBecomeRoot() 183 CommonTree newRoot = new CommonTree(new CommonToken(5)); in testBecomeRoot2() local 190 adaptor.becomeRoot(newRoot, oldRoot); in testBecomeRoot2() 191 newRoot.sanityCheckParentAndChildIndexes(); in testBecomeRoot2() 196 CommonTree newRoot = new CommonTree((Token)null); in testBecomeRoot3() local 197 newRoot.addChild(new CommonTree(new CommonToken(5))); in testBecomeRoot3() 205 adaptor.becomeRoot(newRoot, oldRoot); in testBecomeRoot3() 206 newRoot.sanityCheckParentAndChildIndexes(); in testBecomeRoot3() [all …]
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.as | 82 /** If oldRoot is a nil root, just copy or move the children to newRoot. 83 * If not a nil root, make oldRoot a child of newRoot. 88 * If newRoot is a nil-rooted single child tree, use the single 94 * If oldRoot was null, it's ok, just return newRoot (even if isNil). 99 * Return newRoot. Throw an exception if newRoot is not a 101 * node. If newRoot is ^(nil x) return x as newRoot. 103 * Be advised that it's ok for newRoot to point at oldRoot's 108 public function becomeRoot(newRoot:Object, oldRoot:Object):Object { 110 if (newRoot is Token) { 111 newRoot = createWithPayload(Token(newRoot)); [all …]
|
D | TreeAdaptor.as | 94 /** If oldRoot is a nil root, just copy or move the children to newRoot. 95 * If not a nil root, make oldRoot a child of newRoot. 100 * If newRoot is a nil-rooted single child tree, use the single 106 * If oldRoot was null, it's ok, just return newRoot (even if isNil). 111 * Return newRoot. Throw an exception if newRoot is not a 113 * node. If newRoot is ^(nil x) return x as newRoot. 115 * Be advised that it's ok for newRoot to point at oldRoot's 120 function becomeRoot(newRoot:Object, oldRoot:Object):Object;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRTreeException.h | 33 id<ANTLRTree> newRoot; variable 36 + (id) exceptionWithOldRoot:(id<ANTLRTree>)theOldRoot newRoot:(id<ANTLRTree>)theNewRoot stream:(id<… 37 - (id) initWithOldRoot:(id<ANTLRTree>)theOldRoot newRoot:(id<ANTLRTree>)theNewRoot stream:(id<ANTLR…
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRTreeException.h | 33 id<ANTLRTree> newRoot; variable 36 + (id) exceptionWithOldRoot:(id<ANTLRTree>)theOldRoot newRoot:(id<ANTLRTree>)theNewRoot stream:(id<… 37 - (id) initWithOldRoot:(id<ANTLRTree>)theOldRoot newRoot:(id<ANTLRTree>)theNewRoot stream:(id<ANTLR…
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRTreeException.h | 33 id<ANTLRTree> newRoot; variable 36 + (id) exceptionWithOldRoot:(id<ANTLRTree>)theOldRoot newRoot:(id<ANTLRTree>)theNewRoot stream:(id<… 37 - (id) initWithOldRoot:(id<ANTLRTree>)theOldRoot newRoot:(id<ANTLRTree>)theNewRoot stream:(id<ANTLR…
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | DebugTreeAdaptor.cs | 124 public virtual object BecomeRoot(object newRoot, object oldRoot) { in BecomeRoot() argument 125 object n = adaptor.BecomeRoot(newRoot, oldRoot); in BecomeRoot() 126 dbg.BecomeRoot(newRoot, oldRoot); in BecomeRoot() 139 public virtual object BecomeRoot(IToken newRoot, object oldRoot) { in BecomeRoot() argument 140 object n = this.Create(newRoot); in BecomeRoot() 142 dbg.BecomeRoot(newRoot, oldRoot); in BecomeRoot()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
D | DebugTreeAdaptor.cs | 160 public virtual object BecomeRoot( object newRoot, object oldRoot ) in BecomeRoot() argument 162 object n = adaptor.BecomeRoot( newRoot, oldRoot ); in BecomeRoot() 163 dbg.BecomeRoot( newRoot, oldRoot ); in BecomeRoot() 178 public virtual object BecomeRoot( IToken newRoot, object oldRoot ) in BecomeRoot() argument 180 object n = this.Create( newRoot ); in BecomeRoot() 182 dbg.BecomeRoot( newRoot, oldRoot ); in BecomeRoot()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | DebugTreeAdaptor.java | 120 public Object becomeRoot(Object newRoot, Object oldRoot) { in becomeRoot() argument 121 Object n = adaptor.becomeRoot(newRoot, oldRoot); in becomeRoot() 122 dbg.becomeRoot(newRoot, oldRoot); in becomeRoot() 135 public Object becomeRoot(Token newRoot, Object oldRoot) { in becomeRoot() argument 136 Object n = this.create(newRoot); in becomeRoot() 138 dbg.becomeRoot(newRoot, oldRoot); in becomeRoot()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | BaseTreeAdaptor.cs | 153 public virtual object BecomeRoot(object newRoot, object oldRoot) { in BecomeRoot() argument 155 ITree newRootTree = (ITree)newRoot; in BecomeRoot() 158 return newRoot; in BecomeRoot() 194 public virtual object BecomeRoot(IToken newRoot, object oldRoot) { in BecomeRoot() argument 195 return BecomeRoot(Create(newRoot), oldRoot); in BecomeRoot()
|
D | ITreeAdaptor.cs | 143 object BecomeRoot(object newRoot, object oldRoot); in BecomeRoot() argument 194 object BecomeRoot(IToken newRoot, object oldRoot); in BecomeRoot() argument
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.java | 137 public Object becomeRoot(Object newRoot, Object oldRoot) { in becomeRoot() argument 139 Tree newRootTree = (Tree)newRoot; in becomeRoot() 142 return newRoot; in becomeRoot() 178 public Object becomeRoot(Token newRoot, Object oldRoot) { in becomeRoot() argument 179 return becomeRoot(create(newRoot), oldRoot); in becomeRoot()
|
/external/skia/src/gpu/gl/ |
D | GrGLNameAllocator.cpp | 248 SparseNameTree* newRoot = static_cast<SparseNameTree*>((this->*Tall).detach()); in rotate() local 250 (this->*Tall).reset((newRoot->*Short).detach()); in rotate() 253 (newRoot->*Short).reset(this->takeRef()); in rotate() 254 newRoot->updateStats(); in rotate() 256 return newRoot; in rotate()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | BaseTreeAdaptor.cs | 187 public virtual object BecomeRoot( object newRoot, object oldRoot ) in BecomeRoot() argument 190 ITree newRootTree = (ITree)newRoot; in BecomeRoot() 194 return newRoot; in BecomeRoot() 237 public virtual object BecomeRoot( IToken newRoot, object oldRoot ) in BecomeRoot() argument 239 return BecomeRoot( Create( newRoot ), oldRoot ); in BecomeRoot()
|
D | ITreeAdaptor.cs | 199 object BecomeRoot( object newRoot, object oldRoot ); in BecomeRoot() argument 250 object BecomeRoot( IToken newRoot, object oldRoot ); in BecomeRoot() argument
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | TreeMultiset.java | 250 AvlNode<E> newRoot = new AvlNode<E>(element, occurrences); in add() local 251 successor(header, newRoot, header); in add() 252 rootReference.checkAndSet(root, newRoot); in add() 256 AvlNode<E> newRoot = root.add(comparator(), element, occurrences, result); in add() local 257 rootReference.checkAndSet(root, newRoot); in add() 269 AvlNode<E> newRoot; in remove() local 276 newRoot = root.remove(comparator(), e, occurrences, result); in remove() 282 rootReference.checkAndSet(root, newRoot); in remove() 302 AvlNode<E> newRoot = root.setCount(comparator(), element, count, result); in setCount() local 303 rootReference.checkAndSet(root, newRoot); in setCount() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | TreeMultiset.java | 254 AvlNode<E> newRoot = new AvlNode<E>(element, occurrences); in add() local 255 successor(header, newRoot, header); in add() 256 rootReference.checkAndSet(root, newRoot); in add() 260 AvlNode<E> newRoot = root.add(comparator(), element, occurrences, result); in add() local 261 rootReference.checkAndSet(root, newRoot); in add() 273 AvlNode<E> newRoot; in remove() local 280 newRoot = root.remove(comparator(), e, occurrences, result); in remove() 286 rootReference.checkAndSet(root, newRoot); in remove() 306 AvlNode<E> newRoot = root.setCount(comparator(), element, count, result); in setCount() local 307 rootReference.checkAndSet(root, newRoot); in setCount() [all …]
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | debug.py | 294 def becomeRoot(self, newRoot, oldRoot): argument 295 if isinstance(newRoot, Token): 296 n = self.createWithPayload(newRoot) 299 n = self.adaptor.becomeRoot(newRoot, oldRoot) 301 self.dbg.becomeRoot(newRoot, oldRoot) 687 def becomeRoot(self, newRoot, oldRoot): argument 804 def becomeRoot(self, newRoot, oldRoot): argument 806 self.adaptor.getUniqueID(newRoot), 1092 def becomeRoot(self, newRoot, oldRoot): argument 1094 self.adaptor.getUniqueID(newRoot),
|
D | tree.py | 361 def becomeRoot(self, newRoot, oldRoot): argument 1037 def becomeRoot(self, newRoot, oldRoot): argument 1066 if isinstance(newRoot, Token): 1067 newRoot = self.create(newRoot) 1070 return newRoot 1072 if not isinstance(newRoot, CommonTree): 1073 newRoot = self.createWithPayload(newRoot) 1076 if newRoot.isNil(): 1077 nc = newRoot.getChildCount() 1079 newRoot = newRoot.getChild(0) [all …]
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3basetreeadaptor.c | 51 …TREE becomeRoot (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE newRoot, pANTLR3_BASE_TRE… 52 …EE dbgBecomeRoot (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE newRoot, pANTLR3_BASE_TRE… 56 static pANTLR3_BASE_TREE becomeRootToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, void * newRoot, pANT… 57 static pANTLR3_BASE_TREE dbgBecomeRootToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, void * newRoot, pA… 740 becomeRootToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, void * newRoot, pANTLR3_BASE_TREE oldRoot) in becomeRootToken() argument 742 return adaptor->becomeRoot(adaptor, adaptor->create(adaptor, newRoot), oldRoot); in becomeRootToken() 745 dbgBecomeRootToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, void * newRoot, pANTLR3_BASE_TREE oldRoot) in dbgBecomeRootToken() argument 749 t = adaptor->becomeRoot(adaptor, adaptor->create(adaptor, newRoot), oldRoot); in dbgBecomeRootToken()
|