| /third_party/typescript/src/services/ |
| D | getEditsForFileRename.ts | 10 sourceMapper: SourceMapper, 14 … oldToNew = getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper); 15 … newToOld = getPathUpdater(newFileOrDirPath, oldFileOrDirPath, getCanonicalFileName, sourceMapper); 25 …newFileOrDirPath: string, getCanonicalFileName: GetCanonicalFileName, sourceMapper: SourceMapper |… 28 …const originalPath = sourceMapper && sourceMapper.tryGetSourcePosition({ fileName: path, pos: 0 });
|
| D | services.ts | 1279 const sourceMapper = getSourceMapper({ constant 1399 sourceMapper.clearCache(); 2003 …h, newFilePath, host, formatting.getFormatContext(formatOptions, host), preferences, sourceMapper); 2591 toLineColumnOffset: sourceMapper.toLineColumnOffset, 2592 getSourceMapper: () => sourceMapper, 2593 clearSourceMapperCache: () => sourceMapper.clearCache(),
|
| D | types.ts | 103 /* @internal */ sourceMapper?: DocumentPositionMapper; property
|
| /third_party/typescript/lib/ |
| D | typescript.js | 126649 …name(program, oldFileOrDirPath, newFileOrDirPath, host, formatContext, preferences, sourceMapper) { argument 126652 … oldToNew = getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper); 126653 … newToOld = getPathUpdater(newFileOrDirPath, oldFileOrDirPath, getCanonicalFileName, sourceMapper); 126661 … function getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper) { argument 126664 … var originalPath = sourceMapper && sourceMapper.tryGetSourcePosition({ fileName: path, pos: 0 }); 150056 var sourceMapper = ts.getSourceMapper({ 150161 sourceMapper.clearCache(); 150646 …newFilePath, host, ts.formatting.getFormatContext(formatOptions, host), preferences, sourceMapper); 151147 toLineColumnOffset: sourceMapper.toLineColumnOffset, 151148 getSourceMapper: function () { return sourceMapper; }, [all …]
|
| D | typescriptServices.js | 126649 …name(program, oldFileOrDirPath, newFileOrDirPath, host, formatContext, preferences, sourceMapper) { argument 126652 … oldToNew = getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper); 126653 … newToOld = getPathUpdater(newFileOrDirPath, oldFileOrDirPath, getCanonicalFileName, sourceMapper); 126661 … function getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper) { argument 126664 … var originalPath = sourceMapper && sourceMapper.tryGetSourcePosition({ fileName: path, pos: 0 }); 150056 var sourceMapper = ts.getSourceMapper({ 150161 sourceMapper.clearCache(); 150646 …newFilePath, host, ts.formatting.getFormatContext(formatOptions, host), preferences, sourceMapper); 151147 toLineColumnOffset: sourceMapper.toLineColumnOffset, 151148 getSourceMapper: function () { return sourceMapper; }, [all …]
|
| D | tsserverlibrary.js | 126649 …name(program, oldFileOrDirPath, newFileOrDirPath, host, formatContext, preferences, sourceMapper) { argument 126652 … oldToNew = getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper); 126653 … newToOld = getPathUpdater(newFileOrDirPath, oldFileOrDirPath, getCanonicalFileName, sourceMapper); 126661 … function getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper) { argument 126664 … var originalPath = sourceMapper && sourceMapper.tryGetSourcePosition({ fileName: path, pos: 0 }); 150056 var sourceMapper = ts.getSourceMapper({ 150161 sourceMapper.clearCache(); 150646 …newFilePath, host, ts.formatting.getFormatContext(formatOptions, host), preferences, sourceMapper); 151147 toLineColumnOffset: sourceMapper.toLineColumnOffset, 151148 getSourceMapper: function () { return sourceMapper; }, [all …]
|
| D | tsserver.js | 126080 …name(program, oldFileOrDirPath, newFileOrDirPath, host, formatContext, preferences, sourceMapper) { argument 126083 … oldToNew = getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper); 126084 … newToOld = getPathUpdater(newFileOrDirPath, oldFileOrDirPath, getCanonicalFileName, sourceMapper); 126092 … function getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper) { argument 126095 … var originalPath = sourceMapper && sourceMapper.tryGetSourcePosition({ fileName: path, pos: 0 }); 149487 var sourceMapper = ts.getSourceMapper({ 149592 sourceMapper.clearCache(); 150077 …newFilePath, host, ts.formatting.getFormatContext(formatOptions, host), preferences, sourceMapper); 150578 toLineColumnOffset: sourceMapper.toLineColumnOffset, 150579 getSourceMapper: function () { return sourceMapper; }, [all …]
|