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

Method parseSource

www/js/_hyperscript-max.js:6008–6013  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

6006 return rv;
6007 }
6008 static parseSource(parser) {
6009 if (!parser.matchAnyToken("of", "from")) {
6010 parser.raiseExpected("of", "from");
6011 }
6012 return parser.requireElement("expression");
6013 }
6014 static parse(parser) {
6015 if (!parser.matchToken("pick")) return;
6016 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