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

Method #consumeComment

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

Source from the content-addressed store, hash-verified

312 }
313 // ----- Consume methods -----
314 #consumeComment() {
315 while (this.#currentChar() && !this.#isNewline(this.#currentChar())) {
316 this.#consumeChar();
317 }
318 this.#consumeChar();
319 }
320 #consumeWhitespace() {
321 var ws = this.#makeToken("WHITESPACE");
322 var value = "";

Callers 1

#tokenizeMethod · 0.95

Calls 3

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

Tested by

no test coverage detected