MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / parse

Method parse

tools/common/_hyperscript.iife.js:807–813  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

805 this.tokens = tokens;
806 }
807 static parse(parser) {
808 if (parser.hasMore()) {
809 var tokenArr = parser.consumeUntilWhitespace();
810 parser.matchTokenType("WHITESPACE");
811 return new _NakedString(tokenArr);
812 }
813 }
814 evalStatically() {
815 return this.resolve();
816 }

Callers

nothing calls this directly

Calls 3

hasMoreMethod · 0.45
matchTokenTypeMethod · 0.45

Tested by

no test coverage detected