MCPcopy Create free account
hub / github.com/SpartanJ/eepp / parseTextEditArray

Function parseTextEditArray

src/tools/ecode/plugins/lsp/lspclientserver.cpp:600–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598}
599
600static std::vector<LSPTextEdit> parseTextEditArray( const json& result ) {
601 std::vector<LSPTextEdit> ret;
602 for ( const auto& edit : result )
603 ret.push_back( parseTextEdit( edit ) );
604 return ret;
605}
606
607static void fromJson( LSPVersionedTextDocumentIdentifier& id, const json& json ) {
608 if ( json.is_object() ) {

Callers 5

parseTextDocumentEditFunction · 0.85
parseWorkSpaceEditFunction · 0.85
parseDocumentCompletionFunction · 0.85
documentFormattingMethod · 0.85

Calls 2

parseTextEditFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected