()
| 59 | return token?.kind === "identifier" ? token.value : fail() |
| 60 | } |
| 61 | const string = (): string => { |
| 62 | const token = tokens[index++] |
| 63 | return token?.kind === "string" ? token.value : fail() |
| 64 | } |
| 65 | const imports: Array<Imports[number]> = [] |
| 66 | while (index < tokens.length) { |
| 67 | expect("import") |