| 145 | enum CustomInfo { URI, TextRange }; |
| 146 | |
| 147 | static std::shared_ptr<LSPLocationModel> create( const std::string& workspaceFolder, |
| 148 | const std::vector<LSPLocation>& data ) { |
| 149 | return std::make_shared<LSPLocationModel>( workspaceFolder, data ); |
| 150 | } |
| 151 | |
| 152 | LSPLocationModel( const std::string& workspaceFolder, const std::vector<LSPLocation>& locs ) { |
| 153 | createLocs( workspaceFolder, locs ); |