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

Method parseSource

src/parsetree/commands/basic.js:424–429  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

422 }
423
424 static parseSource(parser) {
425 if (!parser.matchAnyToken("of", "from")) {
426 parser.raiseExpected('of', 'from');
427 }
428 return parser.requireElement("expression");
429 }
430
431 static parse(parser) {
432 if (!parser.matchToken("pick")) return;

Callers 1

parseMethod · 0.45

Calls 3

matchAnyTokenMethod · 0.45
raiseExpectedMethod · 0.45
requireElementMethod · 0.45

Tested by

no test coverage detected