* Get lookahead token with fresh type (avoids TypeScript narrowing issues).
()
| 103 | * Get lookahead token with fresh type (avoids TypeScript narrowing issues). |
| 104 | */ |
| 105 | private lookahead(): Token | null { |
| 106 | return this.buf2; |
| 107 | } |
| 108 | |
| 109 | private warn(message: string): void { |
| 110 | this.onWarning?.(message, this.reader.position); |