Home
last modified time | relevance | path

Searched refs:sourceMapper (Results 1 – 4 of 4) sorted by relevance

/third_party/typescript/src/services/
DgetEditsForFileRename.ts10 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 });
Dservices.ts1266 const sourceMapper = getSourceMapper({ constant
1429 sourceMapper.clearCache();
1585 … const mappedSpan = getMappedDocumentSpan(ref, sourceMapper, maybeBind(host, host.fileExists));
1606 … const mappedSpan = getMappedDocumentSpan(ref, sourceMapper, maybeBind(host, host.fileExists));
2125 …h, newFilePath, host, formatting.getFormatContext(formatOptions, host), preferences, sourceMapper);
2666 return sourceMapper.toLineColumnOffset(fileName, position);
2762 getSourceMapper: () => sourceMapper,
2763 clearSourceMapperCache: () => sourceMapper.clearCache(),
Dutilities.ts2137 …export function getMappedLocation(location: DocumentPosition, sourceMapper: SourceMapper, fileExis…
2138 const mapsTo = sourceMapper.tryGetSourcePosition(location);
2142 …export function getMappedDocumentSpan(documentSpan: DocumentSpan, sourceMapper: SourceMapper, file…
2144 …const newPosition = getMappedLocation({ fileName, pos: textSpan.start }, sourceMapper, fileExists);
2146 …= getMappedLocation({ fileName, pos: textSpan.start + textSpan.length }, sourceMapper, fileExists);
2158 contextSpan: getMappedContextSpan(documentSpan, sourceMapper, fileExists),
2163 …export function getMappedContextSpan(documentSpan: DocumentSpan, sourceMapper: SourceMapper, fileE…
2166 sourceMapper,
2171 sourceMapper,
Dtypes.ts107 /* @internal */ sourceMapper?: DocumentPositionMapper; property