(operator: string)
| 742 | } |
| 743 | |
| 744 | private expectOperator(operator: string) { |
| 745 | if (this.consumeOptionalOperator(operator)) return; |
| 746 | this.error(`Missing expected operator ${operator}`); |
| 747 | } |
| 748 | |
| 749 | private prettyPrintToken(tok: Token): string { |
| 750 | return tok === EOF ? 'end of input' : `token ${tok}`; |
no test coverage detected