(attrs)
| 74 | } |
| 75 | |
| 76 | addAttributes(attrs) { |
| 77 | if (!this.open) { |
| 78 | throw new Error('Cannot write attributes to node if it is not open'); |
| 79 | } |
| 80 | pushAttributes(this._xml, attrs); |
| 81 | } |
| 82 | |
| 83 | writeText(text) { |
| 84 | const xml = this._xml; |
no test coverage detected