Home
last modified time | relevance | path

Searched refs:NormalizedPath (Results 1 – 15 of 15) 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 <NormalizedPath>normalizePath(fileName);
66 …export function normalizedPathToPath(normalizedPath: NormalizedPath, currentDirectory: string, get…
71 export function asNormalizedPath(fileName: string): NormalizedPath {
72 return <NormalizedPath>fileName;
76 get(path: NormalizedPath): T | undefined;
77 set(path: NormalizedPath, value: T): void;
78 contains(path: NormalizedPath): boolean;
[all …]
DeditorServices.ts321 configFileName?: NormalizedPath;
425 interface OriginalFileInfo { fileName: NormalizedPath; path: Path; }
683 … private readonly externalProjectToConfiguredProjectMap = new Map<string, NormalizedPath[]>();
700 … readonly openFiles: Map<NormalizedPath | undefined> = new Map<Path, NormalizedPath | undefined>();
702 readonly configFileForOpenFiles: ESMap<Path, NormalizedPath | false> = new Map();
736 readonly currentDirectory: NormalizedPath;
768 …haredExtendedConfigFileWatchers = new Map<Path, SharedExtendedConfigFileWatcher<NormalizedPath>>();
1129 … getDefaultProjectForFile(fileName: NormalizedPath, ensureProject: boolean): Project | undefined {
1134 tryGetDefaultProjectForFile(fileName: NormalizedPath): Project | undefined {
1140 ensureDefaultProjectForFile(fileName: NormalizedPath): Project {
[all …]
Dproject.ts122 fileName: NormalizedPath;
217 originalConfiguredProjects: Set<NormalizedPath> | undefined;
886 getExcludedFiles(): readonly NormalizedPath[] {
906 const result: NormalizedPath[] = [];
935 hasConfigFile(configFilePath: NormalizedPath) {
961 containsFile(filename: NormalizedPath, requireOpen?: boolean): boolean {
974 addRoot(info: ScriptInfo, fileName?: NormalizedPath) {
984 addMissingFileRoot(fileName: NormalizedPath) {
1398 getScriptInfoForNormalizedPath(fileName: NormalizedPath): ScriptInfo | undefined {
1855 projectRootPath: NormalizedPath | undefined,
[all …]
DscriptInfo.ts273 export function isDynamicFileName(fileName: NormalizedPath) {
333 readonly fileName: NormalizedPath,
579 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;
1001 private semanticCheck(file: NormalizedPath, project: Project) {
1008 private syntacticCheck(file: NormalizedPath, project: Project) {
1012 private suggestionCheck(file: NormalizedPath, project: Project) {
1016 …private sendDiagnosticsEvent(file: NormalizedPath, project: Project, diagnostics: readonly Diagnos…
1126 …tConfigFileAndProject(args: protocol.FileRequestArgs): { configFile: NormalizedPath | undefined, p…
1136 …private getConfigFileDiagnostics(configFile: NormalizedPath, project: Project, includeLinePosition…
1581 …ate openClientFile(fileName: NormalizedPath, fileContent?: string, scriptKind?: ScriptKind, projec…
[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);
DcachingFileSystemInformation.ts393 … assert.equal(configFileName, tsconfigFile.path as server.NormalizedPath, `should find config`);
550 …assert.equal(configFileName, tsconfigJson.path as server.NormalizedPath, `should find config`); //…
DconfiguredProjects.ts828 const options = projectService.getFormatCodeOptions(f1.path as server.NormalizedPath);
1251 assert.isTrue(inferredProject.containsFile(<server.NormalizedPath>file1.path));
1252 …tService.configuredProjects.get(configFile.path)!.containsFile(<server.NormalizedPath>file1.path));
Dsession.ts148 …assert.equal(session.getProjectService().getFormatCodeOptions("" as NormalizedPath).indentStyle, I…
DdeclarationFileMaps.ts29 …ion.getProjectService().getDefaultProjectForFile(file.path as server.NormalizedPath, /*ensureProje…
Dprojects.ts1621 …ce.getOrCreateScriptInfoForNormalizedPath(commonFile2.path as server.NormalizedPath, /*openedByCli…
/third_party/typescript/tests/baselines/reference/api/
Dtsserverlibrary.d.ts6810 type NormalizedPath = string & { alias
6813 function toNormalizedPath(fileName: string): NormalizedPath;
6814 …function normalizedPathToPath(normalizedPath: NormalizedPath, currentDirectory: string, getCanonic…
6815 function asNormalizedPath(fileName: string): NormalizedPath;
6817 get(path: NormalizedPath): T | undefined;
6818 set(path: NormalizedPath, value: T): void;
6819 contains(path: NormalizedPath): boolean;
6820 remove(path: NormalizedPath): void;
9571 function isDynamicFileName(fileName: NormalizedPath): boolean;
9574 readonly fileName: NormalizedPath;
[all …]
/third_party/typescript/lib/
Dtsserverlibrary.d.ts6561 type NormalizedPath = string & { alias
6564 function toNormalizedPath(fileName: string): NormalizedPath;
6565 …function normalizedPathToPath(normalizedPath: NormalizedPath, currentDirectory: string, getCanonic…
6566 function asNormalizedPath(fileName: string): NormalizedPath;
6568 get(path: NormalizedPath): T | undefined;
6569 set(path: NormalizedPath, value: T): void;
6570 contains(path: NormalizedPath): boolean;
6571 remove(path: NormalizedPath): void;
9292 function isDynamicFileName(fileName: NormalizedPath): boolean;
9295 readonly fileName: NormalizedPath;
[all …]