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

Function setExternalModuleIndicator

test/fixtures/snapshot/typescript.js:31298–31300  ·  view source on GitHub ↗
(sourceFile)

Source from the content-addressed store, hash-verified

31296 }
31297 }
31298 function setExternalModuleIndicator(sourceFile) {
31299 sourceFile.externalModuleIndicator = isFileProbablyExternalModule(sourceFile);
31300 }
31301 function createSourceFile(fileName, sourceText, languageVersionOrOptions, setParentNodes, scriptKind) {
31302 if (setParentNodes === void 0) { setParentNodes = false; }
31303 ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.push("parse" /* tracing.Phase.Parse */, "createSourceFile", { path: fileName }, /*separateBeginAndEnd*/ true);

Callers 1

setFieldsFunction · 0.85

Calls 1

Tested by

no test coverage detected