| 44 | } |
| 45 | |
| 46 | Json HandlerBase::toJson(SourceLocation const& _location) const |
| 47 | { |
| 48 | solAssert(_location.sourceName); |
| 49 | Json item; |
| 50 | item["uri"] = fileRepository().sourceUnitNameToUri(*_location.sourceName); |
| 51 | item["range"] = toRange(_location); |
| 52 | return item; |
| 53 | } |
| 54 | |
| 55 | std::pair<std::string, LineColumn> HandlerBase::extractSourceUnitNameAndLineColumn(Json const& _args) const |
| 56 | { |
no test coverage detected