MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / importSpec

Function importSpec

lib/web/CodeMirror/mode/javascript/javascript.js:805–810  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

803 return pass(importSpec, maybeMoreImports, maybeFrom);
804 }
805 function importSpec(type, value) {
806 if (type == "{") return contCommasep(importSpec, "}");
807 if (type == "variable") register(value);
808 if (value == "*") cx.marked = "keyword";
809 return cont(maybeAs);
810 }
811 function maybeMoreImports(type) {
812 if (type == ",") return cont(importSpec, maybeMoreImports)
813 }

Callers

nothing calls this directly

Calls 3

contCommasepFunction · 0.85
registerFunction · 0.70
contFunction · 0.70

Tested by

no test coverage detected