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