()
| 511 | } |
| 512 | // reconstructs the pattern |
| 513 | toString() { |
| 514 | return this.#toString !== void 0 ? this.#toString : !this.type ? this.#toString = this.#parts.map((p) => String(p)).join("") : this.#toString = this.type + "(" + this.#parts.map((p) => String(p)).join("|") + ")"; |
| 515 | } |
| 516 | #fillNegs() { |
| 517 | if (this !== this.#root) |
| 518 | throw new Error("should only call on root"); |
no test coverage detected