MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / parse

Method parse

www/js/_hyperscript.js:814–820  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

812 this.tokens = tokens;
813 }
814 static parse(parser) {
815 if (parser.hasMore()) {
816 var tokenArr = parser.consumeUntilWhitespace();
817 parser.matchTokenType("WHITESPACE");
818 return new _NakedString(tokenArr);
819 }
820 }
821 evalStatically() {
822 return this.resolve();
823 }

Callers

nothing calls this directly

Calls 3

hasMoreMethod · 0.45
matchTokenTypeMethod · 0.45

Tested by

no test coverage detected