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

Method #consumeStyleReference

www/js/_hyperscript.esm.js:410–419  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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();

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