()
| 403 | return token; |
| 404 | } |
| 405 | #consumeStyleReference() { |
| 406 | var token = this.#makeToken("STYLE_REF"); |
| 407 | var value = this.#consumeChar(); |
| 408 | while (this.#isAlpha(this.#currentChar()) || this.#currentChar() === "-") { |
| 409 | value += this.#consumeChar(); |
| 410 | } |
| 411 | token.value = value; |
| 412 | token.end = this.#position; |
| 413 | return token; |
| 414 | } |
| 415 | #consumeTemplateLogic() { |
| 416 | var token = this.#makeToken("IDENTIFIER"); |
| 417 | this.#consumeChar(); |
no test coverage detected