()
| 423 | } |
| 424 | |
| 425 | private parseArray(): Array<unknown> { |
| 426 | this.expect("[") |
| 427 | const output: Array<unknown> = [] |
| 428 | while (true) { |
| 429 | this.skipWhitespace() |
| 430 | if (this.peek() === "]") { |
| 431 | this.advance() |
| 432 | return output |
| 433 | } |
| 434 | output.push(this.parseValue()) |
| 435 | this.skipWhitespace() |
| 436 | if (this.peek() === "]") { |
| 437 | this.advance() |
| 438 | return output |
| 439 | } |
| 440 | this.expect(",") |
| 441 | } |
| 442 | } |
| 443 | |
| 444 | private parseInlineTable(): Table { |
| 445 | this.expect("{") |
no test coverage detected