Home
last modified time | relevance | path

Searched refs:childNodes (Results 1 – 25 of 73) sorted by relevance

123

/third_party/python/Lib/test/
Dtest_minidom.py87 elem = root.childNodes[0]
90 self.confirm(len(root.childNodes) == 2
91 and root.childNodes.length == 2
92 and root.childNodes[0] is nelem
93 and root.childNodes.item(0) is nelem
94 and root.childNodes[1] is elem
95 and root.childNodes.item(1) is elem
102 self.confirm(len(root.childNodes) == 3
103 and root.childNodes.length == 3
104 and root.childNodes[1] is elem
[all …]
/third_party/parse5/packages/parse5/lib/tree-adapters/
Ddefault.js10 childNodes: []
17 childNodes: []
27 childNodes: [],
50 parentNode.childNodes.push(newNode);
55 const insertionIdx = parentNode.childNodes.indexOf(referenceNode);
57 parentNode.childNodes.splice(insertionIdx, 0, newNode);
72 for (let i = 0; i < document.childNodes.length; i++) {
73 if (document.childNodes[i].nodeName === '#documentType') {
74 doctypeNode = document.childNodes[i];
103 const idx = node.parentNode.childNodes.indexOf(node);
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/
Dpretty_vcproj.py75 if node.childNodes:
98 for sub_node in node.childNodes:
112 for current in node.childNodes:
154 for sub_node in node.childNodes:
159 for sub_node in node.childNodes:
178 if node.childNodes:
183 while node.childNodes and node.childNodes[0]:
185 current = node.childNodes[0]
214 for node in vcproj.childNodes:
216 for sub_node in node.childNodes:
[all …]
/third_party/node/tools/gyp/tools/
Dpretty_vcproj.py78 if node.childNodes:
101 for sub_node in node.childNodes:
114 for current in node.childNodes:
160 for sub_node in node.childNodes:
165 for sub_node in node.childNodes:
184 if node.childNodes:
189 while node.childNodes and node.childNodes[0]:
191 current = node.childNodes[0]
219 for node in vcproj.childNodes:
221 for sub_node in node.childNodes:
[all …]
/third_party/python/Lib/xml/dom/
Dminidom.py69 return bool(self.childNodes)
72 return self.childNodes
75 if self.childNodes:
76 return self.childNodes[0]
79 if self.childNodes:
80 return self.childNodes[-1]
84 for c in tuple(newChild.childNodes):
97 index = self.childNodes.index(refChild)
102 self.childNodes.insert(index, newChild)
106 node = self.childNodes[index-1]
[all …]
Dexpatbuilder.py249 del self.document.childNodes[-1]
275 childNodes = self.curNode.childNodes
278 and childNodes[-1].nodeType == CDATA_SECTION_NODE):
279 childNodes[-1].appendData(data)
283 elif childNodes and childNodes[-1].nodeType == TEXT_NODE:
284 node = childNodes[-1]
295 childNodes = self.curNode.childNodes
296 if childNodes and childNodes[-1].nodeType == TEXT_NODE:
297 node = childNodes[-1]
318 node.childNodes.append(child)
[all …]
/third_party/python/Doc/includes/
Dminidom-example.py45 print("<title>%s</title>" % getText(title.childNodes))
48 print("<h2>%s</h2>" % getText(title.childNodes))
57 print("<li>%s</li>" % getText(point.childNodes))
62 print("<p>%s</p>" % getText(title.childNodes))
/third_party/parse5/packages/parse5/docs/tree-adapter/default/
Ddocument-fragment.md5 * [childNodes](#childnodes)
14 ### childNodes subsection
16 **● childNodes**: *Node[]*
Ddocument.md5 * [childNodes](#childnodes)
15 ### childNodes subsection
17 **● childNodes**: *Node[]*
Delement.md6 * [childNodes](#childnodes)
28 ### childNodes subsection
30 **● childNodes**: *Node[]*
/third_party/parse5/packages/parse5/docs/
Dindex.md27 console.log(document.childNodes[1].tagName); //> 'html'
58 console.log(documentFragment.childNodes[0].tagName); //> 'table'
61 const trFragment = parser.parseFragment(documentFragment.childNodes[0], '<tr><td>Shake it, baby</td…
63 console.log(trFragment.childNodes[0].childNodes[0].tagName); //> 'td'
97 const str = parse5.serialize(document.childNodes[1]);
/third_party/parse5/packages/parse5/lib/serializer/
Dindex.js43 const childNodes = this.treeAdapter.getChildNodes(parentNode);
45 if (childNodes) {
46 for (let i = 0, cnLength = childNodes.length; i < cnLength; i++) {
47 const currentNode = childNodes[i];
/third_party/parse5/packages/parse5/test/
Dparser.test.js19 assert.strictEqual(document.childNodes[0].data, '!DOCTYPE html SYSTEM "about:legacy-compat"');
80 assert.strictEqual(treeAdapters.htmlparser2.getAttrList(fragment.childNodes[0]).length, 1);
86 const doctype = document.childNodes[0];
Dlocation-info-parser.test.js164 const [doctype, html] = document.childNodes;
165 const [head, body] = html.childNodes;
166 const [text] = body.childNodes;
/third_party/weex-loader/src/
Dparser.js46 if (node.childNodes) {
47 node.childNodes.forEach(child => {
73 fragment.childNodes.forEach(node => {
/third_party/parse5/packages/parse5-htmlparser2-tree-adapter/docs/
Ddocument-fragment.md5 * [childNodes](#childnodes)
25 ### childNodes subsection
27 **● childNodes**: *Node[]*
Ddocument.md5 * [childNodes](#childnodes)
26 ### childNodes subsection
28 **● childNodes**: *Node[]*
Delement.md6 * [childNodes](#childnodes)
44 ### childNodes subsection
46 **● childNodes**: *Node[]*
/third_party/googletest/googletest/test/
Dgtest_xml_test_utils.py128 for child in element.childNodes:
188 for child in element.childNodes:
195 for child in element.childNodes:
/third_party/boost/tools/build/src/tools/
Ddoxproc.py218 for n in parent.childNodes:
244 for n in node.childNodes:
267 for n in node.childNodes:
279 for m in n.childNodes:
380 for n in node.childNodes:
429 for param in templateparamlist.childNodes:
475 for n in sectiondef.childNodes:
499 for n in sectiondef.childNodes:
594 for n in memberdef.childNodes:
673 for n in memberdef.childNodes:
[all …]
/third_party/node/tools/gyp/pylib/gyp/
Dxml_fix.py38 if self.childNodes:
40 for node in self.childNodes:
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dxml_fix.py42 if self.childNodes:
44 for node in self.childNodes:
/third_party/parse5/packages/parse5-plain-text-conversion-stream/docs/
Dindex.md15 console.log(converter.document.childNodes[1].childNodes[0].tagName); //> 'head'
/third_party/libjpeg-turbo/doc/html/search/
Dsearch.js200 for (i=0;i<win.childNodes.length;i++)
202 var child = win.childNodes[i]; // get span within a
251 for (i=0;i<win.childNodes.length;i++)
253 var child = win.childNodes[i]; // get span within a
266 for (i=0;i<win.childNodes.length;i++)
268 var child = win.childNodes[i]; // get span within a
/third_party/libevdev/doc/html/search/
Dsearch.js193 for (i=0;i<win.childNodes.length;i++)
195 var child = win.childNodes[i]; // get span within a
243 for (i=0;i<win.childNodes.length;i++)
245 var child = win.childNodes[i]; // get span within a
258 for (i=0;i<win.childNodes.length;i++)
260 var child = win.childNodes[i]; // get span within a

123