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

Method append

src/tools/ecode/universallocator.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 const std::string& getQuery() const { return mQuery; }
63
64 void append( const LSPSymbolInformationList& res ) {
65 mInfo.insert( mInfo.end(), res.begin(), res.end() );
66 std::sort( mInfo.begin(), mInfo.end(),
67 []( const LSPSymbolInformation& l, const LSPSymbolInformation& r ) {
68 return l.score > r.score;
69 } );
70 onModelUpdate();
71 }
72
73 void setQuery( const std::string& query ) {
74 if ( mQuery != query ) {

Callers 8

updateWorkspaceSymbolMethod · 0.45
parseWorkspaceSymbolsFunction · 0.45
readStdOutMethod · 0.45
getAllBranchesAndTagsMethod · 0.45
setTerminalDataMethod · 0.45
readStdOutMethod · 0.45
writeMethod · 0.45
writeMethod · 0.45

Calls 4

sortFunction · 0.85
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by 1

writeMethod · 0.36