MCPcopy
hub / github.com/webpack/webpack / clearAfeToMarker

Function clearAfeToMarker

lib/html/syntax.js:5017–5022  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5015 };
5016 const insertMarker = () => afe.push({ marker: true });
5017 const clearAfeToMarker = () => {
5018 while (afe.length) {
5019 const e = /** @type {{ marker?: boolean }} */ (afe.pop());
5020 if (e.marker) break;
5021 }
5022 };
5023 const reconstructAfe = () => {
5024 if (afe.length === 0) return;
5025 let i = afe.length - 1;

Callers 3

buildHtmlAstFunction · 0.85
endTagInBodyFunction · 0.85
closeCellFunction · 0.85

Calls 1

popMethod · 0.80

Tested by

no test coverage detected