()
| 21 | if (!take(text)) fail() |
| 22 | } |
| 23 | const identifier = (): Token => { |
| 24 | const token = tokens[index] |
| 25 | if (token?.kind !== "identifier") return fail() |
| 26 | index++ |
| 27 | return token |
| 28 | } |
| 29 | const reference = (token: Token, shorthand = false): void => { |
| 30 | const fragment = references.get(token.text) |
| 31 | if (fragment !== undefined) { |
no test coverage detected