MLIR
20.0.0git
|
#include "mlir/Tools/lsp-server-support/Protocol.h"
Public Attributes | |
std::vector< Diagnostic > | diagnostics |
An array of diagnostics known on the client side overlapping the range provided to the textDocument/codeAction request. More... | |
std::vector< std::string > | only |
Requested kind of actions to return. More... | |
Definition at line 1144 of file Protocol.h.
std::vector<Diagnostic> mlir::lsp::CodeActionContext::diagnostics |
An array of diagnostics known on the client side overlapping the range provided to the textDocument/codeAction
request.
They are provided so that the server knows which errors are currently presented to the user for the given range. There is no guarantee that these accurately reflect the error state of the resource. The primary parameter to compute code actions is the provided range.
Definition at line 1151 of file Protocol.h.
Referenced by mlir::lsp::fromJSON().
std::vector<std::string> mlir::lsp::CodeActionContext::only |
Requested kind of actions to return.
Actions not of this kind are filtered out by the client before being shown. So servers can omit computing them.
Definition at line 1157 of file Protocol.h.
Referenced by mlir::lsp::fromJSON().