(chars: string)
| 659 | } |
| 660 | |
| 661 | private _peekStr(chars: string): boolean { |
| 662 | const len = chars.length; |
| 663 | if (this._cursor.charsLeft() < len) { |
| 664 | return false; |
| 665 | } |
| 666 | const cursor = this._cursor.clone(); |
| 667 | for (let i = 0; i < len; i++) { |
| 668 | if (cursor.peek() !== chars.charCodeAt(i)) { |
| 669 | return false; |
| 670 | } |
| 671 | cursor.advance(); |
| 672 | } |
| 673 | return true; |
| 674 | } |
| 675 | |
| 676 | private _isBlockStart(): boolean { |
| 677 | return ( |
no test coverage detected