()
| 651 | } |
| 652 | |
| 653 | private _readChar(): string { |
| 654 | // Don't rely upon reading directly from `_input` as the actual char value |
| 655 | // may have been generated from an escape sequence. |
| 656 | const char = String.fromCodePoint(this._cursor.peek()); |
| 657 | this._cursor.advance(); |
| 658 | return char; |
| 659 | } |
| 660 | |
| 661 | private _peekStr(chars: string): boolean { |
| 662 | const len = chars.length; |
no test coverage detected