MCPcopy
hub / github.com/webpack/webpack / ModuleImport

Function ModuleImport

lib/wasm-sync/WebAssemblyGenerator.js:81–85  ·  view source on GitHub ↗
({ node })

Source from the content-addressed store, hash-verified

79
80 t.traverse(ast, {
81 ModuleImport({ node }) {
82 if (t.isGlobalType(node.descr)) {
83 importedGlobals.push(node);
84 }
85 }
86 });
87
88 return importedGlobals;

Callers

nothing calls this directly

Calls 4

pushMethod · 0.45
removeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected