()
| 461 | } |
| 462 | |
| 463 | #consumeAttributeReference() { |
| 464 | var token = this.#makeToken("ATTRIBUTE_REF"); |
| 465 | var value = this.#consumeChar(); |
| 466 | while (this.#position < this.#source.length && this.#currentChar() !== "]") { |
| 467 | value += this.#consumeChar(); |
| 468 | } |
| 469 | if (this.#currentChar() === "]") { |
| 470 | value += this.#consumeChar(); |
| 471 | } |
| 472 | token.value = value; |
| 473 | token.end = this.#position; |
| 474 | return token; |
| 475 | } |
| 476 | |
| 477 | #consumeShortAttributeReference() { |
| 478 | var token = this.#makeToken("ATTRIBUTE_REF"); |
no test coverage detected