()
| 2635 | } |
| 2636 | |
| 2637 | consume() { |
| 2638 | const token = this.tokens[this.position++] |
| 2639 | // console.log(`Consume: ${token.type} '${token.value}' at position ${this.position - 1}`) |
| 2640 | return token |
| 2641 | } |
| 2642 | |
| 2643 | expect(type, value = null) { |
| 2644 | const token = this.consume() |
no outgoing calls
no test coverage detected