(operator: string)
| 761 | } |
| 762 | |
| 763 | private expectOperator(operator: string) { |
| 764 | if (this.consumeOptionalOperator(operator)) return; |
| 765 | this.error(`Missing expected operator ${operator}`); |
| 766 | } |
| 767 | |
| 768 | private prettyPrintToken(tok: Token): string { |
| 769 | return tok === EOF ? 'end of input' : `token ${tok}`; |
no test coverage detected