(value: string)
| 91 | } |
| 92 | |
| 93 | expectToken(value: string) { |
| 94 | if (!this.match(value)) throw new Error(`Expecting ${value}`); |
| 95 | this.next(); |
| 96 | } |
| 97 | |
| 98 | expectTokenOptional(value: string) { |
| 99 | if (this.match(value)) this.next(); |
no test coverage detected