(out: Array<Parsed>)
| 373 | } |
| 374 | |
| 375 | end(out: Array<Parsed>): void { |
| 376 | if (this.state === QUOTED) throw this.fail("Syntax", "Unterminated quoted field") |
| 377 | if (this.size > 0 || this.cells.length > 0) { |
| 378 | this.cells.push(this.field) |
| 379 | this.field = "" |
| 380 | this.state = FIELD_START |
| 381 | this.endRecord(this.size, out) |
| 382 | } |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | interface Decoded { |
no test coverage detected