* Skip to the end of line (but don't consume EOL).
()
| 460 | * Skip to the end of line (but don't consume EOL). |
| 461 | */ |
| 462 | private skipToEOL(): void { |
| 463 | while (true) { |
| 464 | const byte = this.scanner.peek(); |
| 465 | |
| 466 | if (byte === -1 || byte === LF || byte === CR) { |
| 467 | break; |
| 468 | } |
| 469 | |
| 470 | this.scanner.advance(); |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | /** |
| 475 | * Skip EOL characters (CR, LF, or CRLF). |
no test coverage detected