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

Method parse

www/js/_hyperscript-max.js:9744–9750  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

9742 behavior(target, source, behaviorArgs);
9743 }
9744 static parse(parser) {
9745 if (!parser.matchToken("install")) return;
9746 var behaviorPath = parser.requireElement("dotOrColonPath").evalStatically();
9747 var behaviorNamespace = behaviorPath.split(".");
9748 var args = parser.parseElement("namedArgumentList");
9749 return new _InstallFeature(behaviorPath, behaviorNamespace, args);
9750 }
9751 };
9752
9753 // 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