MCPcopy
hub / github.com/webpack/webpack / clearStackToTableContext

Function clearStackToTableContext

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

Source from the content-addressed store, hash-verified

6564 };
6565
6566 const clearStackToTableContext = () => {
6567 while (open.length) {
6568 const c = cur();
6569 if (c.namespace === NS_HTML && CLEAR_TABLE.has(c.tagName)) {
6570 break;
6571 }
6572 open.pop();
6573 }
6574 };
6575 const clearStackToTableBodyContext = () => {
6576 while (open.length) {
6577 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