Home
last modified time | relevance | path

Searched refs:sourceMapper (Results 1 – 7 of 7) 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.ts1279 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(),
Dtypes.ts103 /* @internal */ sourceMapper?: DocumentPositionMapper; property
/third_party/typescript/lib/
Dtypescript.js126649 …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 …]
DtypescriptServices.js126649 …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 …]
Dtsserverlibrary.js126649 …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 …]
Dtsserver.js126080 …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 …]