(e: any)
| 534 | } |
| 535 | |
| 536 | private handleError(e: any) { |
| 537 | if (e instanceof CursorError) { |
| 538 | e = this._createError(e.msg, this._cursor.getSpan(e.cursor)); |
| 539 | } |
| 540 | if (e instanceof ParseError) { |
| 541 | this.errors.push(e); |
| 542 | } else { |
| 543 | throw e; |
| 544 | } |
| 545 | } |
| 546 | |
| 547 | private _attemptCharCode(charCode: number): boolean { |
| 548 | if (this._cursor.peek() === charCode) { |
no test coverage detected