Lines Matching full:chunk
95 var chunk = {};
96 chunk.start = start;
97 chunk.end = end;
98 chunk.isScript = isScript;
99 chunk.text = text.substring(start, end);
100 chunks.push(chunk);
123 var chunk = chunks[index++];
124 if (chunk.isScript)
130 chunk.text = formattedSource;
131 chunk.mapping = mapping;
134 this._formatScript(chunk.text, didFormat.bind(this));
142 var chunk = chunks[i];
143 mapping.original.push(chunk.start);
145 if (chunk.isScript) {
148 for (var j = 0; j < chunk.mapping.original.length; ++j) {
149 mapping.original.push(chunk.mapping.original[j] + chunk.start);
150 mapping.formatted.push(chunk.mapping.formatted[j] + text.length);
152 text += chunk.text;
156 text += chunk.text;
158 mapping.original.push(chunk.end);