| 206 | } |
| 207 | |
| 208 | static LSPLocation parseLocation( const json& loc ) { |
| 209 | auto uri = URI( loc[MEMBER_URI].get<std::string>() ); |
| 210 | auto range = parseRange( loc[MEMBER_RANGE] ); |
| 211 | return { uri, range }; |
| 212 | } |
| 213 | |
| 214 | static LSPLocation parseLocationLink( const json& loc ) { |
| 215 | auto uri = URI( loc[MEMBER_TARGET_URI].get<std::string>() ); |
no test coverage detected