clang-tools 20.0.0git
|
#include <Protocol.h>
Public Attributes | |
Range | range |
The range of the text document to be manipulated. | |
std::string | newText |
The string to be inserted. | |
ChangeAnnotationIdentifier | annotationId = "" |
The actual annotation identifier (optional) If empty, then this field is nullopt. | |
Definition at line 243 of file Protocol.h.
ChangeAnnotationIdentifier clang::clangd::TextEdit::annotationId = "" |
The actual annotation identifier (optional) If empty, then this field is nullopt.
Definition at line 254 of file Protocol.h.
Referenced by clang::clangd::fromJSON(), and clang::clangd::toJSON().
std::string clang::clangd::TextEdit::newText |
The string to be inserted.
For delete operations use an empty string.
Definition at line 250 of file Protocol.h.
Referenced by clang::clangd::fromJSON(), clang::clangd::operator<<(), clang::clangd::operator==(), and clang::clangd::toJSON().
Range clang::clangd::TextEdit::range |
The range of the text document to be manipulated.
To insert text into a document create a range where start === end.
Definition at line 246 of file Protocol.h.
Referenced by clang::clangd::fromJSON(), clang::clangd::operator<<(), clang::clangd::operator==(), and clang::clangd::toJSON().