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

Method parseSource

www/js/_hyperscript.esm.js:6007–6012  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

6005 return rv;
6006 }
6007 static parseSource(parser) {
6008 if (!parser.matchAnyToken("of", "from")) {
6009 parser.raiseExpected("of", "from");
6010 }
6011 return parser.requireElement("expression");
6012 }
6013 static parse(parser) {
6014 if (!parser.matchToken("pick")) return;
6015 parser.matchToken("the");

Callers 1

parseMethod · 0.45

Calls 3

matchAnyTokenMethod · 0.45
raiseExpectedMethod · 0.45
requireElementMethod · 0.45

Tested by

no test coverage detected