(type, value)
| 372 | // ----- Token constructors ----- |
| 373 | |
| 374 | #makeToken(type, value) { |
| 375 | return { |
| 376 | type: type, |
| 377 | value: value || "", |
| 378 | start: this.#position, |
| 379 | end: this.#position + 1, |
| 380 | column: this.#column, |
| 381 | line: this.#line, |
| 382 | }; |
| 383 | } |
| 384 | |
| 385 | #makeOpToken(type, value) { |
| 386 | var token = this.#makeToken(type, value); |
no outgoing calls
no test coverage detected