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

Method #consumeComment

tools/common/_hyperscript.iife.js:308–313  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

306 }
307 // ----- Consume methods -----
308 #consumeComment() {
309 while (this.#currentChar() && !this.#isNewline(this.#currentChar())) {
310 this.#consumeChar();
311 }
312 this.#consumeChar();
313 }
314 #consumeWhitespace() {
315 var ws = this.#makeToken("WHITESPACE");
316 var value = "";

Callers 1

#tokenizeMethod · 0.95

Calls 3

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

Tested by

no test coverage detected