(char: string)
| 263 | } |
| 264 | |
| 265 | readUntil(char: string): string { |
| 266 | let result = ''; |
| 267 | while (!this.atEnd() && this.peek() !== char) { |
| 268 | result += this.consume(); |
| 269 | } |
| 270 | return result; |
| 271 | } |
| 272 | |
| 273 | consumeLine() { |
| 274 | while (!this.atEnd() && this.peek() !== '\n') { |
no test coverage detected