Lines Matching refs:node
134 function generate(node, filePath, preNode, relativePath) { argument
135 componentValidator.validateTagName(node, compileResult, relativePath)
136 if (node.attrs && node.attrs.length !== 0) {
137 checkNodeAttrs(node, filePath, preNode, relativePath)
139 if (node.childNodes && node.childNodes.length !== 0) {
140 checkNodeChildren(node, filePath, relativePath)
150 function checkNodeAttrs(node, filePath, preNode, relativePath) { argument
151 const attributes = node.attrs
153 line: node.sourceCodeLocation.startLine,
154 col: node.sourceCodeLocation.endLine,
170 checkAttrFor(node, attributes, pos);
197 node.tagName,
206 function checkAttrFor(node, attributes, pos) { argument
233 if (node && node.parentNode && node.parentNode.attrs) {
234 node.parentNode.attrs.forEach(element => {
261 function checkNodeChildren(node, filePath, relativePath) { argument
262 const children = node.childNodes.filter((child) => {
285 if (node.nodeName === 'option') {