MCPcopy Create free account
hub / github.com/Paxa/postbird / importSpec

Function importSpec

public/codemirror/javascript/javascript.js:680–685  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

678 return pass(importSpec, maybeMoreImports, maybeFrom);
679 }
680 function importSpec(type, value) {
681 if (type == "{") return contCommasep(importSpec, "}");
682 if (type == "variable") register(value);
683 if (value == "*") cx.marked = "keyword";
684 return cont(maybeAs);
685 }
686 function maybeMoreImports(type) {
687 if (type == ",") return cont(importSpec, maybeMoreImports)
688 }

Callers

nothing calls this directly

Calls 3

contCommasepFunction · 0.85
registerFunction · 0.85
contFunction · 0.85

Tested by

no test coverage detected