()
| 505 | } |
| 506 | |
| 507 | #consumeTemplateLogic() { |
| 508 | var token = this.#makeToken("IDENTIFIER"); |
| 509 | this.#consumeChar(); // Don't need the '#' |
| 510 | var value = "" |
| 511 | |
| 512 | while(this.#isAlpha(this.#currentChar())) { |
| 513 | value += this.#consumeChar(); |
| 514 | } |
| 515 | |
| 516 | token.value = value; |
| 517 | token.end = this.#position; |
| 518 | |
| 519 | return token; |
| 520 | } |
| 521 | |
| 522 | #consumeTemplateLine() { |
| 523 | var token = this.#makeToken("TEMPLATE_LINE"); |
no test coverage detected