adds the current position to the token to the offset:position map
()
| 328 | |
| 329 | /** adds the current position to the token to the offset:position map */ |
| 330 | private markPosition() { |
| 331 | this.#map.push({ offset: this.#offset, column: this.#column, line: this.#line }); |
| 332 | } |
| 333 | |
| 334 | /** updates the position and marks the location */ |
| 335 | private newLine(count = 1) { |
no test coverage detected