(e: any)
| 549 | } |
| 550 | |
| 551 | private handleError(e: any) { |
| 552 | if (e instanceof CursorError) { |
| 553 | e = this._createError(e.msg, this._cursor.getSpan(e.cursor)); |
| 554 | } |
| 555 | if (e instanceof ParseError) { |
| 556 | this.errors.push(e); |
| 557 | } else { |
| 558 | throw e; |
| 559 | } |
| 560 | } |
| 561 | |
| 562 | private _attemptCharCode(charCode: number): boolean { |
| 563 | if (this._cursor.peek() === charCode) { |
no test coverage detected