()
| 302 | } |
| 303 | |
| 304 | private skipWhitespace(): void { |
| 305 | while (/\s/.test(this.peek())) this.index++ |
| 306 | } |
| 307 | |
| 308 | private expect(character: string): void { |
| 309 | if (this.peek() !== character) this.fail(`Expected '${character}'`) |
no test coverage detected