()
| 1607 | } |
| 1608 | |
| 1609 | private flushText(): void { |
| 1610 | if (this.text.length > 0) { |
| 1611 | this.out.push({ _tag: "Text", text: this.text }) |
| 1612 | this.text = "" |
| 1613 | } |
| 1614 | this.textSize = 0 |
| 1615 | } |
| 1616 | |
| 1617 | // Adds the size of the text run or CDATA section at `i`. Exceeding the limit |
| 1618 | // is reported there, rather than at the start of the text. |
no test coverage detected