()
| 280 | } |
| 281 | |
| 282 | end(): void { |
| 283 | if (this.state !== END || this.capture !== NONE) { |
| 284 | throw this.fail("Syntax", "Unexpected end of input", this.base) |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | // Handles one structural character and returns the next index. |
| 289 | step(text: string, i: number, c: number, out: Array<unknown>): number { |