MCPcopy
hub / github.com/webpack/webpack / clearStackToTableBodyContext

Function clearStackToTableBodyContext

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

Source from the content-addressed store, hash-verified

6573 }
6574 };
6575 const clearStackToTableBodyContext = () => {
6576 while (open.length) {
6577 const c = cur();
6578 if (c.namespace === NS_HTML && CLEAR_TABLE_BODY.has(c.tagName)) {
6579 break;
6580 }
6581 open.pop();
6582 }
6583 };
6584 const clearStackToTableRowContext = () => {
6585 while (open.length) {
6586 const c = cur();

Callers 1

buildHtmlAstFunction · 0.85

Calls 3

curFunction · 0.85
popMethod · 0.80
hasMethod · 0.45

Tested by

no test coverage detected