|
wex v26.10.0
|
Manages diagnostics received from language server. More...
#include <wex/lsp/diagnostics.h>
Public Member Functions | |
| void | add (const std::string &uri, const diagnostic_item &diag) |
| Adds a diagnostic for a document. | |
| void | clear (const std::string &uri) |
| Clears all diagnostics for a document. | |
| void | clear_all () |
| Clears all diagnostics for all documents. | |
| size_t | count () const |
| Returns total count of diagnostics. | |
| diagnostics_t | get (const std::string &uri) const |
| Returns all diagnostics for a specific document URI. | |
| diagnostics_t | get_line (const std::string &uri, int line) const |
| Returns all diagnostics on a specific line for a document. | |
| std::vector< std::string > | get_uris () const |
| Returns all document URIs with diagnostics. | |
| bool | has (const std::string &uri) const |
| Returns whether there are any diagnostics for a document. | |
Manages diagnostics received from language server.