MCPcopy Index your code
hub / github.com/Moddable-OpenSource/moddable / mapBuiltins

Method mapBuiltins

tools/mcpack.js:1111–1117  ·  view source on GitHub ↗
(builtins)

Source from the content-addressed store, hash-verified

1109 this.parseManifest(path, from);
1110 }
1111 mapBuiltins(builtins) {
1112 const map = new Map;
1113 builtins.forEach(builtin => {
1114 map.set(builtin.specifier, builtin);
1115 });
1116 return map;
1117 }
1118 matchPlatform(platforms, name) {
1119 let parts = name.split("/");
1120 while (parts.length) {

Callers 1

runMethod · 0.80

Calls 1

setMethod · 0.65

Tested by

no test coverage detected