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

Method parse

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

Source from the content-addressed store, hash-verified

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