()
| 450 | } |
| 451 | |
| 452 | private readComment(): Token { |
| 453 | // Skip comment line |
| 454 | const start = this.position; |
| 455 | |
| 456 | while ( |
| 457 | this.position < this.data.length && |
| 458 | this.data[this.position] !== 0x0a && |
| 459 | this.data[this.position] !== 0x0d |
| 460 | ) { |
| 461 | this.position++; |
| 462 | } |
| 463 | |
| 464 | return String.fromCharCode(...this.data.subarray(start, this.position)); |
| 465 | } |
| 466 | |
| 467 | private readString(): string { |
| 468 | this.position++; // skip ( |