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