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

Method parseOperand

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

Source from the content-addressed store, hash-verified

4877 static grammarName = "collectionExpression";
4878 static KEYWORDS = ["where", "sorted", "mapped", "split", "joined"];
4879 static parseOperand(parser) {
4880 var count = parser.pushFollows(...this.KEYWORDS);
4881 try {
4882 return parser.requireElement("expression");
4883 } finally {
4884 parser.popFollows(count);
4885 }
4886 }
4887 static parse(parser) {
4888 var root = parser.parseElement("unaryExpression");
4889 var changed = true;

Callers 2

parseMethod · 0.45
parseMethod · 0.45

Calls 3

pushFollowsMethod · 0.45
requireElementMethod · 0.45
popFollowsMethod · 0.45

Tested by

no test coverage detected