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

Function parseJsonSourceFileConfigFileContent

test/fixtures/snapshot/typescript.js:41435–41440  ·  view source on GitHub ↗

* Parse the contents of a config file (tsconfig.json). * @param jsonNode The contents of the config file to parse * @param host Instance of ParseConfigHost used to enumerate files in folder. * @param basePath A root directory to resolve relative path entries in the config * fi

(sourceFile, host, basePath, existingOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache, existingWatchOptions)

Source from the content-addressed store, hash-verified

41433 * file to. e.g. outDir
41434 */
41435 function parseJsonSourceFileConfigFileContent(sourceFile, host, basePath, existingOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache, existingWatchOptions) {
41436 ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.push("parse" /* tracing.Phase.Parse */, "parseJsonSourceFileConfigFileContent", { path: sourceFile.fileName });
41437 var result = parseJsonConfigFileContentWorker(/*json*/ undefined, sourceFile, host, basePath, existingOptions, existingWatchOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache);
41438 ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.pop();
41439 return result;
41440 }
41441 ts.parseJsonSourceFileConfigFileContent = parseJsonSourceFileConfigFileContent;
41442 /*@internal*/
41443 function setConfigFileInOptions(options, configFile) {

Callers 1

Calls 3

popMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected