MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / importSpec

Function importSpec

static/libs/javascript.js:826–831  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

824 return pass(importSpec, maybeMoreImports, maybeFrom);
825 }
826 function importSpec(type, value) {
827 if (type == "{") return contCommasep(importSpec, "}");
828 if (type == "variable") register(value);
829 if (value == "*") cx.marked = "keyword";
830 return cont(maybeAs);
831 }
832 function maybeMoreImports(type) {
833 if (type == ",") return cont(importSpec, maybeMoreImports)
834 }

Callers

nothing calls this directly

Calls 3

contCommasepFunction · 0.85
registerFunction · 0.85
contFunction · 0.85

Tested by

no test coverage detected