Lines Matching refs:child
243 const oneChild = children.filter((child) => {
244 return child && child.nodeName !== '#text' && child.nodeName !== '#comment'
324 function(child) { argument
325 return child.nodeName === '#text' || child.nodeName === '#comment' ||
335 function(child) { argument
336 return child.nodeName === '#text' || child.nodeName === '#comment' ||
572 children.forEach(function(child) { argument
573 if (tagWithAll.indexOf(child.nodeName) >= 0) {
574 const t = parentsTagMap[child.nodeNames]
575 …if ((t && t.indexOf(tagName) < 0) || (childrenArray && childrenArray.indexOf(child.nodeName) < 0) …
576 (unSupportedChildrenArray && unSupportedChildrenArray.indexOf(child.nodeName) >= 0)) {
580 reason: 'ERROR: tag `' + tagName + '` not support child tag `' + child.nodeName + '`',
584 if (child.nodeName === 'tab-content') {
587 if (child.nodeName === 'tab-bar') {
594 reason: 'ERROR: tag `tabs` child tag `' + child.nodeName + '` support at most one',