(name, attributes, text)
| 114 | } |
| 115 | |
| 116 | leafNode(name, attributes, text) { |
| 117 | this.openNode(name, attributes); |
| 118 | if (text !== undefined) { |
| 119 | // zeros need to be written |
| 120 | this.writeText(text); |
| 121 | } |
| 122 | this.closeNode(); |
| 123 | } |
| 124 | |
| 125 | closeAll() { |
| 126 | while (this._stack.length) { |