| 322 | } |
| 323 | |
| 324 | export class XmlProducerBase implements XmlProducer { |
| 325 | private _next: XmlConsumer; |
| 326 | public pipe<Next extends XmlConsumer>(next: Next) { |
| 327 | this._next = next; |
| 328 | |
| 329 | return next; |
| 330 | } |
| 331 | protected next(args: xml.ParserEvent) { |
| 332 | this._next.parse(args); |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | export class XmlStringParser extends XmlProducerBase implements XmlProducer { |
| 337 | private error: ErrorFormatter; |
nothing calls this directly
no outgoing calls
no test coverage detected