(chars: string)
| 676 | } |
| 677 | |
| 678 | private _peekStr(chars: string): boolean { |
| 679 | const len = chars.length; |
| 680 | if (this._cursor.charsLeft() < len) { |
| 681 | return false; |
| 682 | } |
| 683 | const cursor = this._cursor.clone(); |
| 684 | for (let i = 0; i < len; i++) { |
| 685 | if (cursor.peek() !== chars.charCodeAt(i)) { |
| 686 | return false; |
| 687 | } |
| 688 | cursor.advance(); |
| 689 | } |
| 690 | return true; |
| 691 | } |
| 692 | |
| 693 | private _isBlockStart(): boolean { |
| 694 | return ( |
no test coverage detected