Lines Matching refs:targetMap
198 MappingInfo SourceMap::Find(int32_t row, int32_t col, const SourceMapData& targetMap, bool& isReplaces)
203 } else if (targetMap.afterPos_.empty()) {
211 int32_t right = static_cast<int32_t>(targetMap.afterPos_.size()) - 1;
213 if (row > targetMap.afterPos_[targetMap.afterPos_.size() - 1].afterRow) {
219 if ((targetMap.afterPos_[mid].afterRow == row && targetMap.afterPos_[mid].afterColumn > col) ||
220 targetMap.afterPos_[mid].afterRow > row) {
227 return MappingInfo { targetMap.afterPos_[res].beforeRow + 1, targetMap.afterPos_[res].beforeColumn + 1 };
386 bool SourceMap::GetLineAndColumnNumbers(int& line, int& column, SourceMapData& targetMap, bool& isReplaces)
391 mapInfo = Find(line - offSet + OFFSET_PREVIEW, column, targetMap, isReplaces);
393 mapInfo = Find(line - offSet, column, targetMap, isReplaces);