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

Method parseSource

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

Source from the content-addressed store, hash-verified

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