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

Method parseSource

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

Source from the content-addressed store, hash-verified

5664 return rv;
5665 }
5666 static parseSource(parser) {
5667 if (!parser.matchAnyToken("of", "from")) {
5668 parser.raiseExpected("of", "from");
5669 }
5670 return parser.requireElement("expression");
5671 }
5672 static parse(parser) {
5673 if (!parser.matchToken("pick")) return;
5674 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