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

Method #consumeComment

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

Source from the content-addressed store, hash-verified

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

Callers 1

#tokenizeMethod · 0.95

Calls 3

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

Tested by

no test coverage detected