MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / #consumeStyleReference

Method #consumeStyleReference

www/js/_hyperscript-max.js:411–420  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

#tokenizeMethod · 0.95

Calls 4

#makeTokenMethod · 0.95
#consumeCharMethod · 0.95
#isAlphaMethod · 0.95
#currentCharMethod · 0.95

Tested by

no test coverage detected