| 353 | } |
| 354 | |
| 355 | LineFile ScriptFile::GetCorrectedLine(unsigned line) const { |
| 356 | LOGD << "Getting corrected line A." << std::endl; |
| 357 | FileRangeList::const_iterator iter = GetFileRange(file_range, line); |
| 358 | LOGD << "Getting corrected line B." << std::endl; |
| 359 | const IncludeFileRange& range = (*iter); |
| 360 | LOGD << "Getting corrected line C." << std::endl; |
| 361 | |
| 362 | return LineFile(line - range.offset, range.file_path); |
| 363 | } |
| 364 | |
| 365 | bool ScriptFileUtil::DetectScriptFileChanged(const Path& path) { |
| 366 | ScriptFileMap& file_map = ScriptFileCache::Instance()->files; |
nothing calls this directly
no test coverage detected