Note: Typescript does incorrect data flow analysis on getters. To avoid * this, we use a method instead of a getter.
()
| 19 | * this, we use a method instead of a getter. |
| 20 | */ |
| 21 | peek(): string | undefined { |
| 22 | return this.buffer[this.pos]; |
| 23 | } |
| 24 | |
| 25 | consume(): string | undefined { |
| 26 | const char = this.peek(); |
nothing calls this directly
no outgoing calls
no test coverage detected