/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
D | ADefCommand.java | 183 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 188 setPosition((PPosition) newChild); in replaceChild() 196 if(newChild != null) in replaceChild() 198 i.set((TWord) newChild); in replaceChild() 199 newChild.parent(this); in replaceChild() 214 if(newChild != null) in replaceChild() 216 i.set((PVariable) newChild); in replaceChild() 217 newChild.parent(this); in replaceChild() 230 setCommand((PCommand) newChild); in replaceChild()
|
D | ACallCommand.java | 146 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 151 setPosition((PPosition) newChild); in replaceChild() 159 if(newChild != null) in replaceChild() 161 i.set((TWord) newChild); in replaceChild() 162 newChild.parent(this); in replaceChild() 177 if(newChild != null) in replaceChild() 179 i.set((PExpression) newChild); in replaceChild() 180 newChild.parent(this); in replaceChild()
|
D | ALoopIncCommand.java | 268 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 273 setPosition((PPosition) newChild); in replaceChild() 279 setVariable((PVariable) newChild); in replaceChild() 285 setStart((PExpression) newChild); in replaceChild() 291 setEnd((PExpression) newChild); in replaceChild() 297 setIncrement((PExpression) newChild); in replaceChild() 303 setCommand((PCommand) newChild); in replaceChild()
|
D | AFunctionExpression.java | 115 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 120 setName((PVariable) newChild); in replaceChild() 128 if(newChild != null) in replaceChild() 130 i.set((PExpression) newChild); in replaceChild() 131 newChild.parent(this); in replaceChild()
|
D | AOptimizedMultipleCommand.java | 40 void replaceChild(Node oldChild, Node newChild) { in replaceChild() argument 41 if (newChild == null) { in replaceChild() 47 commands[i] = (PCommand) newChild; in replaceChild() 48 newChild.parent(this); in replaceChild()
|
D | ALoopCommand.java | 231 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 236 setPosition((PPosition) newChild); in replaceChild() 242 setVariable((PVariable) newChild); in replaceChild() 248 setStart((PExpression) newChild); in replaceChild() 254 setEnd((PExpression) newChild); in replaceChild() 260 setCommand((PCommand) newChild); in replaceChild()
|
D | AMultipleCommand.java | 78 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 85 if(newChild != null) in replaceChild() 87 i.set((PCommand) newChild); in replaceChild() 88 newChild.parent(this); in replaceChild()
|
D | ASequenceExpression.java | 78 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 85 if(newChild != null) in replaceChild() 87 i.set((PExpression) newChild); in replaceChild() 88 newChild.parent(this); in replaceChild()
|
D | ALoopToCommand.java | 194 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 199 setPosition((PPosition) newChild); in replaceChild() 205 setVariable((PVariable) newChild); in replaceChild() 211 setExpression((PExpression) newChild); in replaceChild() 217 setCommand((PCommand) newChild); in replaceChild()
|
D | AEachCommand.java | 194 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 199 setPosition((PPosition) newChild); in replaceChild() 205 setVariable((PVariable) newChild); in replaceChild() 211 setExpression((PExpression) newChild); in replaceChild() 217 setCommand((PCommand) newChild); in replaceChild()
|
D | AIfCommand.java | 194 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 199 setPosition((PPosition) newChild); in replaceChild() 205 setExpression((PExpression) newChild); in replaceChild() 211 setBlock((PCommand) newChild); in replaceChild() 217 setOtherwise((PCommand) newChild); in replaceChild()
|
D | AWithCommand.java | 194 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 199 setPosition((PPosition) newChild); in replaceChild() 205 setVariable((PVariable) newChild); in replaceChild() 211 setExpression((PExpression) newChild); in replaceChild() 217 setCommand((PCommand) newChild); in replaceChild()
|
D | AAutoescapeCommand.java | 157 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 162 setPosition((PPosition) newChild); in replaceChild() 168 setExpression((PExpression) newChild); in replaceChild() 174 setCommand((PCommand) newChild); in replaceChild()
|
D | ASetCommand.java | 157 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 162 setPosition((PPosition) newChild); in replaceChild() 168 setVariable((PVariable) newChild); in replaceChild() 174 setExpression((PExpression) newChild); in replaceChild()
|
/external/markdown/markdown/ |
D | treeprocessors.py | 130 for newChild in childResult: 131 node.insert(pos, newChild) 284 for newChild in lst: 286 if newChild.tail: 287 newChild.tail = \ 288 markdown.inlinepatterns.handleAttributes(newChild.tail, 290 if newChild.text: 291 newChild.text = \ 292 markdown.inlinepatterns.handleAttributes(newChild.text, 293 newChild) [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemText.java | 129 public ElemTemplateElement appendChild(ElemTemplateElement newChild) in appendChild() argument 132 int type = ((ElemTemplateElement) newChild).getXSLToken(); in appendChild() 140 new Object[]{ newChild.getNodeName(), in appendChild() 146 return super.appendChild(newChild); in appendChild()
|
D | ElemTemplateElement.java | 254 public Node appendChild(Node newChild) throws DOMException in appendChild() argument 257 if (null == newChild) in appendChild() 262 ElemTemplateElement elem = (ElemTemplateElement) newChild; in appendChild() 277 return newChild; in appendChild() 394 public Node replaceChild(Node newChild, Node oldChild) throws DOMException in replaceChild() argument 400 ElemTemplateElement newChildElem = ((ElemTemplateElement) newChild); in replaceChild() 434 public Node insertBefore(Node newChild, Node refChild) throws DOMException in insertBefore() argument 438 appendChild(newChild); in insertBefore() 439 return newChild; in insertBefore() 442 if(newChild == refChild) in insertBefore() [all …]
|
D | ElemComment.java | 103 public ElemTemplateElement appendChild(ElemTemplateElement newChild) in appendChild() argument 106 int type = ((ElemTemplateElement) newChild).getXSLToken(); in appendChild() 135 new Object[]{ newChild.getNodeName(), in appendChild() 141 return super.appendChild(newChild); in appendChild()
|
D | ElemAttributeSet.java | 144 public ElemTemplateElement appendChildElem(ElemTemplateElement newChild) in appendChildElem() argument 147 int type = ((ElemTemplateElement) newChild).getXSLToken(); in appendChildElem() 155 new Object[]{ newChild.getNodeName(), in appendChildElem() 161 return super.appendChild(newChild); in appendChildElem()
|
D | ElemChoose.java | 134 public ElemTemplateElement appendChild(ElemTemplateElement newChild) in appendChild() argument 137 int type = ((ElemTemplateElement) newChild).getXSLToken(); in appendChild() 148 new Object[]{ newChild.getNodeName(), in appendChild() 154 return super.appendChild(newChild); in appendChild()
|
D | ElemPI.java | 184 public ElemTemplateElement appendChild(ElemTemplateElement newChild) in appendChild() argument 187 int type = ((ElemTemplateElement) newChild).getXSLToken(); in appendChild() 216 new Object[]{ newChild.getNodeName(), in appendChild() 222 return super.appendChild(newChild); in appendChild()
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestTrees.java | 244 CommonTree newChild = new CommonTree(new CommonToken(5)); in testReplaceWithNoChildren() local 245 t.replaceChildren(0, 0, newChild); in testReplaceWithNoChildren() 254 CommonTree newChild = new CommonTree(new CommonToken(99, "c")); in testReplaceWithOneChildren() local 255 t.replaceChildren(0, 0, newChild); in testReplaceWithOneChildren() 267 CommonTree newChild = new CommonTree(new CommonToken(99,"x")); in testReplaceInMiddle() local 268 t.replaceChildren(1, 1, newChild); in testReplaceInMiddle() 280 CommonTree newChild = new CommonTree(new CommonToken(99,"x")); in testReplaceAtLeft() local 281 t.replaceChildren(0, 0, newChild); in testReplaceAtLeft() 293 CommonTree newChild = new CommonTree(new CommonToken(99,"x")); in testReplaceAtRight() local 294 t.replaceChildren(2, 2, newChild); in testReplaceAtRight() [all …]
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ITreeFixture.cs | 257 CommonTree newChild = new CommonTree(new CommonToken(5)); in testReplaceWithNoChildren() 261 t.ReplaceChildren(0, 0, newChild); in testReplaceWithNoChildren() 278 CommonTree newChild = new CommonTree(new CommonToken(99, "c")); in testReplaceWithOneChildren() 279 t.ReplaceChildren(0, 0, newChild); in testReplaceWithOneChildren() 293 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceInMiddle() 294 t.ReplaceChildren(1, 1, newChild); in testReplaceInMiddle() 308 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceAtLeft() 309 t.ReplaceChildren(0, 0, newChild); in testReplaceAtLeft() 323 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceAtRight() 324 t.ReplaceChildren(2, 2, newChild); in testReplaceAtRight() [all …]
|
/external/python/cpython3/Lib/xml/dom/ |
D | minidom.py | 81 def insertBefore(self, newChild, refChild): argument 82 if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE: 83 for c in tuple(newChild.childNodes): 86 return newChild 87 if newChild.nodeType not in self._child_node_types: 89 "%s cannot be child of %s" % (repr(newChild), repr(self))) 90 if newChild.parentNode is not None: 91 newChild.parentNode.removeChild(newChild) 93 self.appendChild(newChild) 99 if newChild.nodeType in _nodeTypes_with_children: [all …]
|
/external/python/cpython2/Lib/xml/dom/ |
D | minidom.py | 80 def insertBefore(self, newChild, refChild): argument 81 if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE: 82 for c in tuple(newChild.childNodes): 85 return newChild 86 if newChild.nodeType not in self._child_node_types: 88 "%s cannot be child of %s" % (repr(newChild), repr(self))) 89 if newChild.parentNode is not None: 90 newChild.parentNode.removeChild(newChild) 92 self.appendChild(newChild) 98 if newChild.nodeType in _nodeTypes_with_children: [all …]
|