()
| 3047 | } |
| 3048 | |
| 3049 | consume() { |
| 3050 | const token = this.tokens[this.position++] |
| 3051 | // console.log(`Consume: ${token.type} '${token.value}' at position ${this.position - 1}`) |
| 3052 | return token |
| 3053 | } |
| 3054 | |
| 3055 | expect(type, value = null) { |
| 3056 | const token = this.consume() |
no outgoing calls
no test coverage detected