MCPcopy
hub / github.com/webpack/webpack / readSection

Function readSection

test/html5lib.spectest.js:258–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256 let i = 0;
257 const n = lines.length;
258 const readSection = () => {
259 i++;
260 const out = [];
261 while (i < n && !lines[i].startsWith("#")) {
262 out.push(lines[i]);
263 i++;
264 }
265 return out;
266 };
267 while (i < n) {
268 if (lines[i] !== "#data") {
269 i++;

Callers 1

parseDatFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected