()
| 196 | return this.tokens[this.i]; |
| 197 | } |
| 198 | private next(): Token { |
| 199 | const t = this.tokens[this.i++]; |
| 200 | if (!t) throw new Error('unexpected end of input'); |
| 201 | return t; |
| 202 | } |
| 203 | private expect(value: string): void { |
| 204 | const t = this.next(); |
| 205 | if (t.kind !== 'punct' || t.value !== value) |
no outgoing calls
no test coverage detected