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

Method parse

www/js/_hyperscript.esm.js:9743–9749  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

9741 behavior(target, source, behaviorArgs);
9742 }
9743 static parse(parser) {
9744 if (!parser.matchToken("install")) return;
9745 var behaviorPath = parser.requireElement("dotOrColonPath").evalStatically();
9746 var behaviorNamespace = behaviorPath.split(".");
9747 var args = parser.parseElement("namedArgumentList");
9748 return new _InstallFeature(behaviorPath, behaviorNamespace, args);
9749 }
9750};
9751
9752// src/parsetree/features/js.js

Callers

nothing calls this directly

Calls 4

matchTokenMethod · 0.45
evalStaticallyMethod · 0.45
requireElementMethod · 0.45
parseElementMethod · 0.45

Tested by

no test coverage detected