MCPcopy Index your code
hub / github.com/node-inspector/node-inspector / importSpec

Function importSpec

front-end/cm/javascript.js:578–582  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

576 return pass(importSpec, maybeFrom);
577 }
578 function importSpec(type, value) {
579 if (type == "{") return contCommasep(importSpec, "}");
580 if (type == "variable") register(value);
581 return cont();
582 }
583 function maybeFrom(_type, value) {
584 if (value == "from") { cx.marked = "keyword"; return cont(expression); }
585 }

Callers

nothing calls this directly

Calls 3

contCommasepFunction · 0.85
contFunction · 0.85
registerFunction · 0.70

Tested by

no test coverage detected