()
| 271 | } |
| 272 | |
| 273 | consumeLine() { |
| 274 | while (!this.atEnd() && this.peek() !== '\n') { |
| 275 | this.consume(); |
| 276 | } |
| 277 | if (!this.atEnd() && this.peek() === '\n') { |
| 278 | this.consume(); |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | peekLine(): string { |
| 283 | const currentPos = this.pos; |
no test coverage detected