clang-tools
11.0.0
|
Interface with hooks for users of ClangdServer to be notified of events. More...
#include <ClangdServer.h>
Public Member Functions | |
virtual | ~Callbacks ()=default |
virtual void | onDiagnosticsReady (PathRef File, llvm::StringRef Version, std::vector< Diag > Diagnostics) |
Called by ClangdServer when Diagnostics for File are ready. More... | |
virtual void | onFileUpdated (PathRef File, const TUStatus &Status) |
Called whenever the file status is updated. More... | |
virtual void | onHighlightingsReady (PathRef File, llvm::StringRef Version, std::vector< HighlightingToken > Highlightings) |
Called by ClangdServer when some Highlightings for File are ready. More... | |
virtual void | onBackgroundIndexProgress (const BackgroundQueue::Stats &Stats) |
Called when background indexing tasks are enqueued/started/completed. More... | |
Interface with hooks for users of ClangdServer to be notified of events.
Definition at line 66 of file ClangdServer.h.
|
virtualdefault |
|
inlinevirtual |
Called when background indexing tasks are enqueued/started/completed.
Not called concurrently.
Definition at line 87 of file ClangdServer.h.
|
inlinevirtual |
Called by ClangdServer when Diagnostics
for File
are ready.
May be called concurrently for separate files, not for a single file.
Definition at line 72 of file ClangdServer.h.
|
inlinevirtual |
Called whenever the file status is updated.
May be called concurrently for separate files, not for a single file.
Definition at line 76 of file ClangdServer.h.
|
inlinevirtual |
Called by ClangdServer when some Highlightings
for File
are ready.
May be called concurrently for separate files, not for a single file.
Definition at line 81 of file ClangdServer.h.