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

Method parse

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

Source from the content-addressed store, hash-verified

9289 behavior(target, source, behaviorArgs);
9290 }
9291 static parse(parser) {
9292 if (!parser.matchToken("install")) return;
9293 var behaviorPath = parser.requireElement("dotOrColonPath").evalStatically();
9294 var behaviorNamespace = behaviorPath.split(".");
9295 var args = parser.parseElement("namedArgumentList");
9296 return new _InstallFeature(behaviorPath, behaviorNamespace, args);
9297 }
9298 };
9299
9300 // 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