lib/service/html-parser.js
function buildChildTokens(node, parentToken, html, sourceCodeStore, lastIndex) {
    return node.childNodes.map(child => {
        const token = parse5NodeToToken(
            child,
            parentToken,
            html,
            sourceCodeStore,
            lastIndex
        )
        token.parent = parentToken
        return token
    })
}
function buildChildTokens(node, parentToken, html, sourceCodeStore, lastIndex) {
    return node.childNodes.map(child => {
        const token = parse5NodeToToken(
            child,
            parentToken,
            html,
            sourceCodeStore,
            lastIndex
        )
        token.parent = parentToken
        return token
    })
}
function buildChildTokens ( node , parentToken , html , sourceCodeStore , lastIndex ) { return node . childNodes . map ( child => { const token = parse5NodeToToken ( child , parentToken , html , sourceCodeStore , lastIndex ) token . parent = parentToken return token } ) }
Create child tokens from Node childNodes
@param {object} node The node from parse5.
@param {object} parentToken The parent token.
@param {string} html The html source code to parse.
@param {SourceCodeStore} sourceCodeStore The sourceCodeStore.
@param {number} lastIndex The last index.
@returns {Array} The child tokens.
Create child tokens from Node childNodes