MCPcopy Index your code
hub / github.com/nodejs/node / getTransformModuleDelegate

Function getTransformModuleDelegate

test/fixtures/snapshot/typescript.js:104346–104352  ·  view source on GitHub ↗
(moduleKind)

Source from the content-addressed store, hash-verified

104344(function (ts) {
104345 function transformModule(context) {
104346 function getTransformModuleDelegate(moduleKind) {
104347 switch (moduleKind) {
104348 case ts.ModuleKind.AMD: return transformAMDModule;
104349 case ts.ModuleKind.UMD: return transformUMDModule;
104350 default: return transformCommonJSModule;
104351 }
104352 }
104353 var factory = context.factory, emitHelpers = context.getEmitHelperFactory, startLexicalEnvironment = context.startLexicalEnvironment, endLexicalEnvironment = context.endLexicalEnvironment, hoistVariableDeclaration = context.hoistVariableDeclaration;
104354 var compilerOptions = context.getCompilerOptions();
104355 var resolver = context.getEmitResolver();

Callers 1

transformSourceFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…