()
| 525 | } |
| 526 | |
| 527 | scanTemplateTail() { |
| 528 | if (this.idx >= this.len) { |
| 529 | this.err('Unterminated template'); |
| 530 | } |
| 531 | this.idx--; |
| 532 | return this.scanTemplate(); |
| 533 | } |
| 534 | |
| 535 | /** Throw error (defaults to unexpected token if no message provided) */ |
| 536 | err(message = `Unexpected token ${this.raw}`, column = this.start) { |
no test coverage detected