Home
last modified time | relevance | path

Searched refs:oldChild (Results 1 – 25 of 77) sorted by relevance

1234

/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
DADefCommand.java183 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
186 if(this._position_ == oldChild) in replaceChild()
194 if(i.next() == oldChild) in replaceChild()
200 oldChild.parent(null); in replaceChild()
205 oldChild.parent(null); in replaceChild()
212 if(i.next() == oldChild) in replaceChild()
218 oldChild.parent(null); in replaceChild()
223 oldChild.parent(null); in replaceChild()
228 if(this._command_ == oldChild) in replaceChild()
DACallCommand.java146 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
149 if(this._position_ == oldChild) in replaceChild()
157 if(i.next() == oldChild) in replaceChild()
163 oldChild.parent(null); in replaceChild()
168 oldChild.parent(null); in replaceChild()
175 if(i.next() == oldChild) in replaceChild()
181 oldChild.parent(null); in replaceChild()
186 oldChild.parent(null); in replaceChild()
DALoopIncCommand.java268 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
271 if(this._position_ == oldChild) in replaceChild()
277 if(this._variable_ == oldChild) in replaceChild()
283 if(this._start_ == oldChild) in replaceChild()
289 if(this._end_ == oldChild) in replaceChild()
295 if(this._increment_ == oldChild) in replaceChild()
301 if(this._command_ == oldChild) in replaceChild()
DAFunctionExpression.java115 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
118 if(this._name_ == oldChild) in replaceChild()
126 if(i.next() == oldChild) in replaceChild()
132 oldChild.parent(null); in replaceChild()
137 oldChild.parent(null); in replaceChild()
DALoopCommand.java231 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
234 if(this._position_ == oldChild) in replaceChild()
240 if(this._variable_ == oldChild) in replaceChild()
246 if(this._start_ == oldChild) in replaceChild()
252 if(this._end_ == oldChild) in replaceChild()
258 if(this._command_ == oldChild) in replaceChild()
DASequenceExpression.java78 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
83 if(i.next() == oldChild) in replaceChild()
89 oldChild.parent(null); in replaceChild()
94 oldChild.parent(null); in replaceChild()
DAMultipleCommand.java78 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
83 if(i.next() == oldChild) in replaceChild()
89 oldChild.parent(null); in replaceChild()
94 oldChild.parent(null); in replaceChild()
DAWithCommand.java194 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
197 if(this._position_ == oldChild) in replaceChild()
203 if(this._variable_ == oldChild) in replaceChild()
209 if(this._expression_ == oldChild) in replaceChild()
215 if(this._command_ == oldChild) in replaceChild()
DAIfCommand.java194 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
197 if(this._position_ == oldChild) in replaceChild()
203 if(this._expression_ == oldChild) in replaceChild()
209 if(this._block_ == oldChild) in replaceChild()
215 if(this._otherwise_ == oldChild) in replaceChild()
DALoopToCommand.java194 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
197 if(this._position_ == oldChild) in replaceChild()
203 if(this._variable_ == oldChild) in replaceChild()
209 if(this._expression_ == oldChild) in replaceChild()
215 if(this._command_ == oldChild) in replaceChild()
DAEachCommand.java194 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
197 if(this._position_ == oldChild) in replaceChild()
203 if(this._variable_ == oldChild) in replaceChild()
209 if(this._expression_ == oldChild) in replaceChild()
215 if(this._command_ == oldChild) in replaceChild()
DAAltCommand.java157 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
160 if(this._position_ == oldChild) in replaceChild()
166 if(this._expression_ == oldChild) in replaceChild()
172 if(this._command_ == oldChild) in replaceChild()
DAAutoescapeCommand.java157 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
160 if(this._position_ == oldChild) in replaceChild()
166 if(this._expression_ == oldChild) in replaceChild()
172 if(this._command_ == oldChild) in replaceChild()
DAEscapeCommand.java157 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
160 if(this._position_ == oldChild) in replaceChild()
166 if(this._expression_ == oldChild) in replaceChild()
172 if(this._command_ == oldChild) in replaceChild()
DASetCommand.java157 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
160 if(this._position_ == oldChild) in replaceChild()
166 if(this._variable_ == oldChild) in replaceChild()
172 if(this._expression_ == oldChild) in replaceChild()
DAOptimizedMultipleCommand.java40 void replaceChild(Node oldChild, Node newChild) { in replaceChild() argument
46 if (commands[i] == oldChild) { in replaceChild()
49 oldChild.parent(null); in replaceChild()
DAContentTypeCommand.java120 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
123 if(this._position_ == oldChild) in replaceChild()
129 if(this._string_ == oldChild) in replaceChild()
DANumericEqExpression.java120 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
123 if(this._left_ == oldChild) in replaceChild()
129 if(this._right_ == oldChild) in replaceChild()
DACommentCommand.java120 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
123 if(this._position_ == oldChild) in replaceChild()
129 if(this._comment_ == oldChild) in replaceChild()
DAAndExpression.java120 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
123 if(this._left_ == oldChild) in replaceChild()
129 if(this._right_ == oldChild) in replaceChild()
DAVarCommand.java120 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
123 if(this._position_ == oldChild) in replaceChild()
129 if(this._expression_ == oldChild) in replaceChild()
DALteExpression.java120 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
123 if(this._left_ == oldChild) in replaceChild()
129 if(this._right_ == oldChild) in replaceChild()
DAAddExpression.java120 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument
123 if(this._left_ == oldChild) in replaceChild()
129 if(this._right_ == oldChild) in replaceChild()
/external/python/cpython2/Lib/xml/dom/
Dminidom.py129 def replaceChild(self, newChild, oldChild): argument
131 refChild = oldChild.nextSibling
132 self.removeChild(oldChild)
137 if newChild is oldChild:
142 index = self.childNodes.index(oldChild)
147 oldChild.parentNode = None
149 or oldChild.nodeType in _nodeTypes_with_children):
151 newChild.nextSibling = oldChild.nextSibling
152 newChild.previousSibling = oldChild.previousSibling
153 oldChild.nextSibling = None
[all …]
/external/python/cpython3/Lib/xml/dom/
Dminidom.py131 def replaceChild(self, newChild, oldChild): argument
133 refChild = oldChild.nextSibling
134 self.removeChild(oldChild)
139 if newChild is oldChild:
144 index = self.childNodes.index(oldChild)
149 oldChild.parentNode = None
151 or oldChild.nodeType in _nodeTypes_with_children):
153 newChild.nextSibling = oldChild.nextSibling
154 newChild.previousSibling = oldChild.previousSibling
155 oldChild.nextSibling = None
[all …]

1234