(type, value)
| 290 | } |
| 291 | // ----- Token constructors ----- |
| 292 | #makeToken(type, value) { |
| 293 | return { |
| 294 | type, |
| 295 | value: value || "", |
| 296 | start: this.#position, |
| 297 | end: this.#position + 1, |
| 298 | column: this.#column, |
| 299 | line: this.#line |
| 300 | }; |
| 301 | } |
| 302 | #makeOpToken(type, value) { |
| 303 | var token = this.#makeToken(type, value); |
| 304 | token.op = true; |
no outgoing calls
no test coverage detected