Lines Matching defs:const
16 const componentValidator = require('./component_validator')
17 const parse5 = require('../parse/index')
18 const path = require('path')
20 const EVENT_START_REGEXP = /^(on:|on|@|grab:)/
21 const REGEXP_TEXT = /^#/
22 const REGEXP_DATA = /^data-/
31 const relativePath = replaceAll(path.sep, '/', path.relative(
33 const result = { jsonTemplate: {}, deps: [], log: [] }
35 const template = hmlParse(source, {
43 const rootArray = template.childNodes.filter(function(currentValue) {
64 const res = parse5.parseFragment(code, config)
90 const rootArray = template.childNodes.filter(function(currentValue) {
99 const element = root.attrs[index];
151 const attributes = node.attrs
152 const pos = {
157 const attrName = attr.name
158 const attrValue = attr.value
262 const children = node.childNodes.filter((child) => {
268 const temp=compileResult.jsonTemplate
270 const child = children[i]
281 const pos = {