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