* Internal function to generate the string output. * This has to be implemented by every Node * * @throws {Error}
()
| 258 | * @throws {Error} |
| 259 | */ |
| 260 | _toString () { |
| 261 | // must be implemented by each of the Node implementations |
| 262 | throw new Error('_toString not implemented for ' + this.type) |
| 263 | } |
| 264 | |
| 265 | /** |
| 266 | * Get a JSON representation of the node |