Lines Matching refs:chunk
40 for (const chunk of chunks) {
41 const number = Number(chunk);
44 } else if ((matches = chunk.match(STRING_REGEX))) {
47 throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);
102 let chunk = [];
107 chunk.push(unescape(escapeCharacter));
109 const string = chunk.join('');
110 chunk = [];
118 chunks.push(buildStyle(chalk, styles)(chunk.join('')));
119 chunk = [];
122 chunk.push(character);
126 chunks.push(chunk.join(''));