Home
last modified time | relevance | path

Searched refs:configFileName (Results 1 – 25 of 47) sorted by relevance

12

/third_party/typescript/src/testRunner/unittests/config/
DtsconfigParsing.ts23 …function getParsedCommandJson(jsonText: string, configFileName: string, basePath: string, allFileL…
24 const parsed = parseConfigFileTextToJson(configFileName, jsonText);
27 …sonConfigFileContent(parsed.config, host, basePath, /*existingOptions*/ undefined, configFileName);
30 …function getParsedCommandJsonNode(jsonText: string, configFileName: string, basePath: string, allF…
31 const parsed = parseJsonText(configFileName, jsonText);
34 …SourceFileConfigFileContent(parsed, host, basePath, /*existingOptions*/ undefined, configFileName);
37 …function assertParseFileList(jsonText: string, configFileName: string, basePath: string, allFileLi…
39 … const parsed = getParsedCommandJson(jsonText, configFileName, basePath, allFileList);
43 … const parsed = getParsedCommandJsonNode(jsonText, configFileName, basePath, allFileList);
48 …function assertParseFileDiagnostics(jsonText: string, configFileName: string, basePath: string, al…
[all …]
DconvertTypeAcquisitionFromJson.ts4 …function assertTypeAcquisition(json: any, configFileName: string, expectedResult: ExpectedResult) {
5 assertTypeAcquisitionWithJson(json, configFileName, expectedResult);
6 assertTypeAcquisitionWithJsonNode(json, configFileName, expectedResult);
31 …function assertTypeAcquisitionWithJson(json: any, configFileName: string, expectedResult: Expected…
33 …n, errors: actualErrors } = convertTypeAcquisitionFromJson(jsonOptions, "/apath/", configFileName);
38 …function assertTypeAcquisitionWithJsonNode(json: any, configFileName: string, expectedResult: Expe…
40 const result = parseJsonText(configFileName, fileText);
44 …ourceFileConfigFileContent(result, host, "/apath/", /*existingOptions*/ undefined, configFileName);
DconvertCompilerOptionsFromJson.ts25 …function assertCompilerOptions(json: any, configFileName: string, expectedResult: ExpectedResultWi…
26 assertCompilerOptionsWithJson(json, configFileName, expectedResult);
27 assertCompilerOptionsWithJsonNode(json, configFileName, expectedResult);
30 …function assertCompilerOptionsWithJson(json: any, configFileName: string, expectedResult: Expected…
31 …: actualErrors } = convertCompilerOptionsFromJson(json.compilerOptions, "/apath/", configFileName);
34 …lerOptions = JSON.stringify({ ...expectedResult.compilerOptions, configFilePath: configFileName });
40 …function assertCompilerOptionsWithJsonNode(json: any, configFileName: string, expectedResult: Expe…
41 assertCompilerOptionsWithJsonText(JSON.stringify(json), configFileName, expectedResult);
44 …function assertCompilerOptionsWithJsonText(fileText: string, configFileName: string, expectedResul…
45 const result = parseJsonText(configFileName, fileText);
[all …]
DprojectReferences.ts3 configFileName?: string; property
49 const configFileName = combineAllPaths("/", key, sp.configFileName || "tsconfig.json"); constant
66 files.set(configFileName, configContent);
DmatchFiles.ts109 …arseConfigHost, basePath: string, existingOptions?: CompilerOptions, configFileName?: string, reso…
113 …SourceFileConfigFileContent(result, host, basePath, existingOptions, configFileName, resolutionSta…
122 … = parseJsonConfigFileContent(json, host, basePath, existingOptions, configFileName, resolutionSta…
/third_party/typescript/src/server/
DeditorServices.ts38 data: { triggerFile: string, configFileName: string, diagnostics: readonly Diagnostic[] };
90 readonly configFileName: "tsconfig.json" | "jsconfig.json" | "other"; property
321 configFileName?: NormalizedPath; property
483 const configFileName = toNormalizedPath(possibleDefaultRef.sourceFile.fileName); constant
484 const child = project.projectService.findConfiguredProjectByProjectName(configFileName);
516 const configFileName = toNormalizedPath(ref.sourceFile.fileName); constant
517 … const child = project.projectService.findConfiguredProjectByProjectName(configFileName) || (
521 project.projectService.createConfiguredProject(configFileName) :
523 … project.projectService.createAndLoadConfiguredProject(configFileName, reason!) :
543 const configFileName = toNormalizedPath(ref.sourceFile.fileName); constant
[all …]
/third_party/typescript/src/compiler/
DwatchPublic.ts145 configFileName: string; property
196 …export function createWatchCompilerHost<T extends BuilderProgram>(configFileName: string, optionsT…
213 configFileName: rootFilesOrConfigFileName,
262 …const { configFileName, optionsToExtend: optionsToExtendForConfigFile = {}, watchOptionsToExtend, … constant
269 …const cachedDirectoryStructureHost = configFileName === undefined ? undefined : createCachedDirect…
275 if (configFileName && host.configFileParsingResult) {
280 if (configFileName && !host.configFileParsingResult) {
292 if (configFileName) {
293 …configFileWatcher = watchFile(configFileName, scheduleProgramReload, PollingInterval.High, watchOp…
321 configFileName ?
[all …]
DcommandLineParser.ts1582 configFileName: string,
1589 const configFileText = tryReadFile(configFileName, fileName => host.readFile(fileName));
1595 const result = parseJsonText(configFileName, configFileText);
1597 …result.path = toPath(configFileName, cwd, createGetCanonicalFileName(host.useCaseSensitiveFileName…
1603 getNormalizedAbsolutePath(getDirectoryPath(configFileName), cwd),
1605 getNormalizedAbsolutePath(configFileName, cwd),
2053 …export function convertToTSConfig(configParseResult: ParsedCommandLine, configFileName: string, ho…
2059 configFileName,
2065 …f => getRelativePathFromFile(getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory())…
2067 …nfigParseResult.options, { configFilePath: getNormalizedAbsolutePath(configFileName, host.getCurre…
[all …]
DtsbuildPublic.ts359 …function parseConfigFile(state: SolutionBuilderState, configFileName: ResolvedConfigFileName, conf…
370 parsed = host.getParsedCommandLine(configFileName);
371 … if (!parsed) diagnostic = createCompilerDiagnostic(Diagnostics.File_0_not_found, configFileName);
375 …parsed = getParsedCommandLineOfConfigFile(configFileName, baseCompilerOptions, parseConfigFileHost…
400 function visit(configFileName: ResolvedConfigFileName, inCircularContext?: boolean) {
401 const projPath = toResolvedConfigFilePath(state, configFileName);
418 circularityReportStack.push(configFileName);
419 const parsed = parseConfigFile(state, configFileName, projPath);
429 (buildOrder || (buildOrder = [])).push(configFileName);
499 configFileName => toResolvedConfigFilePath(state, configFileName) === projectPath
[all …]
DwatchUtilities.ts382 configFileName: string; property
393 configFileName, options, program, extraFileExtensions,
399 writeLog(`Project: ${configFileName} Detected ignored path: ${fileOrDirectory}`);
409 …writeLog(`Project: ${configFileName} Detected file add/remove of non supported extension: ${fileOr…
413 …igFile!.configFileSpecs!, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirec…
414 writeLog(`Project: ${configFileName} Detected excluded file: ${fileOrDirectory}`);
439 writeLog(`Project: ${configFileName} Detected output file: ${fileOrDirectory}`);
Dwatch.ts92 …export function parseConfigFileWithSystem(configFileName: string, optionsToExtend: CompilerOptions…
95 …const result = getParsedCommandLineOfConfigFile(configFileName, optionsToExtend, host, /*extendedC…
588 configFileName: string; property
597 configFileName, optionsToExtend, watchOptionsToExtend, extraFileExtensions,
603 host.configFileName = configFileName;
/third_party/typescript/src/testRunner/unittests/tsbuild/
DgraphOrdering.ts79 const configFileName = getProjectFileName(proj); constant
85 fileSystem.writeFileSync(configFileName, configContent);
86 projFileNames.push(configFileName);
/third_party/typescript/src/executeCommandLine/
DexecuteCommandLine.ts212 let configFileName: string | undefined;
253 configFileName = combinePaths(fileOrDirectory, "tsconfig.json");
254 if (!sys.fileExists(configFileName)) {
260 configFileName = fileOrDirectory;
261 if (!sys.fileExists(configFileName)) {
269 configFileName = findConfigFile(searchPath, fileName => sys.fileExists(fileName));
272 if (commandLine.fileNames.length === 0 && !configFileName) {
288 if (configFileName) {
289 …const configParseResult = parseConfigFileWithSystem(configFileName, commandLineOptions, commandLin…
301 …sys.write(JSON.stringify(convertToTSConfig(configParseResult, configFileName, sys), null, 4) + sys…
[all …]
/third_party/typescript/src/testRunner/unittests/tsserver/
DcachingFileSystemInformation.ts302 const { configFileName } = projectService.openClientFile(clientFile.path); constant
304 assert.isDefined(configFileName, `should find config`);
324 const { configFileName: config2 } = projectService.openClientFile(moduleFile.path); constant
325 assert.equal(config2, configFileName);
392 const { configFileName } = projectService.openClientFile(file1.path); constant
393 … assert.equal(configFileName, tsconfigFile.path as server.NormalizedPath, `should find config`);
421 const { configFileName: configFile2 } = projectService.openClientFile(file3.path); constant
422 assert.equal(configFile2, configFileName);
549 const { configFileName } = projectService.openClientFile(app.path); constant
550 …assert.equal(configFileName, tsconfigJson.path as server.NormalizedPath, `should find config`); //…
Dtelemetry.ts66 configFileName: "other",
210 configFileName: "jsconfig.json",
230 configFileName: "jsconfig.json",
245 configFileName: "jsconfig.json",
DjsDocTagCheck.ts85 const { configFileName } = projectService.openClientFile(aUser.path); constant
87 assert.isDefined(configFileName, `should find config`);
DconditionCheck.ts84 const { configFileName } = projectService.openClientFile(aUser.path); constant
86 assert.isDefined(configFileName, `should find config`);
DprojectReferenceErrors.ts37 configFileName: usageConfig.path,
45 configFileName: dependencyConfig.path,
DopenFile.ts63 …const { configFileName } = service.openClientFile(file.path, /*fileContent*/ undefined, /*scriptKi… constant
64 assert.equal(configFileName, expectedConfigFile && expectedConfigFile.path);
DinferredProjects.ts18 const { configFileName } = projectService.openClientFile(appFile.path); constant
20 assert(!configFileName, `should not find config, got: '${configFileName}`);
Dhelpers.ts252 …checkSingleConfigFileDiagEvent(configFileName: string, triggerFile: string, errors: readonly Confi…
254 assert.equal(eventData.configFileName, configFileName);
277 configFileName: "tsconfig.json",
/third_party/typescript/src/testRunner/
DprojectsRunner.ts133 let configFileName: string | undefined; variable
137configFileName = ts.normalizePath(ts.combinePaths(this.compilerOptions.project, "tsconfig.json"));
141 configFileName = ts.findConfigFile("", path => this.sys.fileExists(path));
146 if (configFileName) {
147 … const result = ts.readJsonConfigFile(configFileName, path => this.sys.readFile(path));
150 …ceFileConfigFileContent(result, configParseHost, ts.getDirectoryPath(configFileName), this.compile…
/third_party/typescript/src/testRunner/unittests/tscWatch/
DwatchApi.ts24 configFileName: config.path,
65 configFileName: config.path,
DsourceOfProjectReferenceRedirect.ts21 configFileName: config,
/third_party/typescript/tests/cases/unittests/
DmatchFiles.ts85 …arseConfigHost, basePath: string, existingOptions?: CompilerOptions, configFileName?: string, reso…
89 …SourceFileConfigFileContent(result, host, basePath, existingOptions, configFileName, resolutionSta…
98 …ts.parseJsonConfigFileContent(json, host, basePath, existingOptions, configFileName, resolutionSta…

12