(text: string)
| 245 | } |
| 246 | |
| 247 | constructor(text: string) { |
| 248 | this.#text = text; |
| 249 | this.#length = text.length; |
| 250 | this.advance(0); |
| 251 | this.markPosition(); |
| 252 | |
| 253 | // let's hide these, then we can clone this nicely. |
| 254 | Object.defineProperty(this, 'tabWidth', { enumerable: false }); |
| 255 | } |
| 256 | |
| 257 | private get eof() { |
| 258 | return this.#offset > this.#length; |
nothing calls this directly
no test coverage detected