Home
last modified time | relevance | path

Searched refs:NormalizedPath (Results 1 – 14 of 14) sorted by relevance

/third_party/typescript/src/server/
DutilitiesPublic.ts37 …raries*/ true, /*excludeConfigFiles*/ true).concat(project.getExcludedFiles() as NormalizedPath[]),
60 export type NormalizedPath = string & { __normalizedPathTag: any }; alias
62 export function toNormalizedPath(fileName: string): NormalizedPath {
63 return normalizePath(fileName) as NormalizedPath;
66 …export function normalizedPathToPath(normalizedPath: NormalizedPath, currentDirectory: string, get…
71 export function asNormalizedPath(fileName: string): NormalizedPath {
72 return fileName as NormalizedPath;
76 get(path: NormalizedPath): T | undefined;
77 set(path: NormalizedPath, value: T): void;
78 contains(path: NormalizedPath): boolean;
[all …]
DeditorServices.ts320 configFileName?: NormalizedPath;
424 interface OriginalFileInfo { fileName: NormalizedPath; path: Path; }
607 … function getDetailWatchInfo(watchType: WatchType, project: Project | NormalizedPath | undefined) {
662 projects: ESMap<NormalizedPath, boolean>;
708 … private readonly externalProjectToConfiguredProjectMap = new Map<string, NormalizedPath[]>();
731 … readonly openFiles: Map<NormalizedPath | undefined> = new Map<Path, NormalizedPath | undefined>();
733 readonly configFileForOpenFiles: ESMap<Path, NormalizedPath | false> = new Map();
756 …/*@internal*/ readonly configFileExistenceInfoCache = new Map<NormalizedPath, ConfigFileExistenceI…
767 readonly currentDirectory: NormalizedPath;
796 readonly watchFactory: WatchFactory<WatchType, Project | NormalizedPath>;
[all …]
Dproject.ts131 fileName: NormalizedPath;
230 originalConfiguredProjects: Set<NormalizedPath> | undefined;
985 getExcludedFiles(): readonly NormalizedPath[] {
1005 const result: NormalizedPath[] = [];
1034 hasConfigFile(configFilePath: NormalizedPath) {
1060 containsFile(filename: NormalizedPath, requireOpen?: boolean): boolean {
1073 addRoot(info: ScriptInfo, fileName?: NormalizedPath) {
1083 addMissingFileRoot(fileName: NormalizedPath) {
1396 … this.projectService.configFileExistenceInfoCache.get(missingFilePath as string as NormalizedPath);
1483 getScriptInfoForNormalizedPath(fileName: NormalizedPath): ScriptInfo | undefined {
[all …]
DscriptInfo.ts273 export function isDynamicFileName(fileName: NormalizedPath) {
333 readonly fileName: NormalizedPath,
589 reloadFromFile(tempFileName?: NormalizedPath) {
Dsession.ts23 function isDeclarationFileInJSOnlyNonConfiguredProject(project: Project, file: NormalizedPath) {
50 …function formatDiag(fileName: NormalizedPath, project: Project, diag: Diagnostic): protocol.Diagno…
114 fileName: NormalizedPath;
660 …(location, project.getSourceMapper(), p => project.projectService.fileExists(p as NormalizedPath));
664 …umentSpan, project.getSourceMapper(), p => project.projectService.fileExists(p as NormalizedPath));
668 …umentSpan, project.getSourceMapper(), p => project.projectService.fileExists(p as NormalizedPath));
1052 private semanticCheck(file: NormalizedPath, project: Project) {
1061 private syntacticCheck(file: NormalizedPath, project: Project) {
1067 private suggestionCheck(file: NormalizedPath, project: Project) {
1073 …private sendDiagnosticsEvent(file: NormalizedPath, project: Project, diagnostics: readonly Diagnos…
[all …]
Dutilities.ts76 …export function getBaseConfigFileName(configFilePath: NormalizedPath): "tsconfig.json" | "jsconfig…
/third_party/typescript/src/testRunner/unittests/tsserver/
DautoImportProvider.ts70 … .getDefaultProjectForFile(angularFormsDts.path as server.NormalizedPath, /*ensureProject*/ true)!
81 …ojectService.getDefaultProjectForFile(angularFormsDts.path as server.NormalizedPath, /*ensureProje…
86 …ojectService.getDefaultProjectForFile(angularFormsDts.path as server.NormalizedPath, /*ensureProje…
DformatSettings.ts12 … const defaultSettings = projectService.getFormatCodeOptions(f1.path as server.NormalizedPath);
DconfiguredProjects.ts743 const options = projectService.getFormatCodeOptions(f1.path as server.NormalizedPath);
1106 assert.isTrue(inferredProject.containsFile(file1.path as server.NormalizedPath));
1107 …ervice.configuredProjects.get(configFile.path)!.containsFile(file1.path as server.NormalizedPath));
Dsession.ts148 …assert.equal(session.getProjectService().getFormatCodeOptions("" as NormalizedPath).indentStyle, I…
DdeclarationFileMaps.ts34 …ion.getProjectService().getDefaultProjectForFile(file.path as server.NormalizedPath, /*ensureProje…
Dprojects.ts1574 …ce.getOrCreateScriptInfoForNormalizedPath(commonFile2.path as server.NormalizedPath, /*openedByCli…
/third_party/typescript/tests/baselines/reference/api/
Dtsserverlibrary.d.ts7509 type NormalizedPath = string & { alias
7512 function toNormalizedPath(fileName: string): NormalizedPath;
7513 …function normalizedPathToPath(normalizedPath: NormalizedPath, currentDirectory: string, getCanonic…
7514 function asNormalizedPath(fileName: string): NormalizedPath;
7516 get(path: NormalizedPath): T | undefined;
7517 set(path: NormalizedPath, value: T): void;
7518 contains(path: NormalizedPath): boolean;
7519 remove(path: NormalizedPath): void;
10437 function isDynamicFileName(fileName: NormalizedPath): boolean;
10440 readonly fileName: NormalizedPath;
[all …]
/third_party/typescript/lib/
Dtsserverlibrary.d.ts7509 type NormalizedPath = string & { alias
7512 function toNormalizedPath(fileName: string): NormalizedPath;
7513 …function normalizedPathToPath(normalizedPath: NormalizedPath, currentDirectory: string, getCanonic…
7514 function asNormalizedPath(fileName: string): NormalizedPath;
7516 get(path: NormalizedPath): T | undefined;
7517 set(path: NormalizedPath, value: T): void;
7518 contains(path: NormalizedPath): boolean;
7519 remove(path: NormalizedPath): void;
10437 function isDynamicFileName(fileName: NormalizedPath): boolean;
10440 readonly fileName: NormalizedPath;
[all …]