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