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

Function parseCommand

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

Source from the content-addressed store, hash-verified

640}
641
642static LSPCommand parseCommand( const json& result ) {
643 auto title = result.at( MEMBER_TITLE ).get<std::string>();
644 auto command = result.at( MEMBER_COMMAND ).get<std::string>();
645 const auto& args = result.at( MEMBER_ARGUMENTS );
646 return { title, command, args };
647}
648
649static std::vector<LSPDiagnostic> parseDiagnostics( const json& result ) {
650 std::vector<LSPDiagnostic> ret;

Callers 2

parseCodeActionFunction · 0.70
parseCodeLensFunction · 0.70

Calls 1

atMethod · 0.80

Tested by

no test coverage detected