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