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

Function parseTextEdit

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

Source from the content-addressed store, hash-verified

591}
592
593static LSPTextEdit parseTextEdit( const json& result ) {
594 LSPTextEdit edit;
595 edit.text = result.at( "newText" ).get<std::string>();
596 edit.range = parseRange( result.at( MEMBER_RANGE ) );
597 return edit;
598}
599
600static std::vector<LSPTextEdit> parseTextEditArray( const json& result ) {
601 std::vector<LSPTextEdit> ret;

Callers 2

parseTextEditArrayFunction · 0.85
parseDocumentCompletionFunction · 0.85

Calls 2

parseRangeFunction · 0.85
atMethod · 0.80

Tested by

no test coverage detected