(
private readonly stack: ElementNode[],
private readonly cbs: Callbacks,
)
| 263 | } |
| 264 | |
| 265 | constructor( |
| 266 | private readonly stack: ElementNode[], |
| 267 | private readonly cbs: Callbacks, |
| 268 | ) { |
| 269 | if (!__BROWSER__) { |
| 270 | this.entityDecoder = new EntityDecoder(htmlDecodeTree, (cp, consumed) => |
| 271 | this.emitCodePoint(cp, consumed), |
| 272 | ) |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | public reset(): void { |
| 277 | this.state = State.Text |
nothing calls this directly
no test coverage detected