(/** @type {string} */ tagName)
| 5058 | }; |
| 5059 | |
| 5060 | const popUntil = (/** @type {string} */ tagName) => { |
| 5061 | while (open.length) { |
| 5062 | const el = /** @type {HtmlElement} */ (open.pop()); |
| 5063 | el.end = tokenEnd; |
| 5064 | if (el.namespace === NS_HTML && el.tagName === tagName) break; |
| 5065 | } |
| 5066 | }; |
| 5067 | const popUntilOneOf = (/** @type {Set<string>} */ set) => { |
| 5068 | while (open.length) { |
| 5069 | const el = /** @type {HtmlElement} */ (open.pop()); |
no test coverage detected