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

Method #consumeComment

src/core/tokenizer.js:393–398  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

391 // ----- Consume methods -----
392
393 #consumeComment() {
394 while (this.#currentChar() && !this.#isNewline(this.#currentChar())) {
395 this.#consumeChar();
396 }
397 this.#consumeChar();
398 }
399
400 #consumeWhitespace() {
401 var ws = this.#makeToken("WHITESPACE");

Callers 1

#tokenizeMethod · 0.95

Calls 3

#currentCharMethod · 0.95
#isNewlineMethod · 0.95
#consumeCharMethod · 0.95

Tested by

no test coverage detected