clang-tools
8.0.0
|
#include <Protocol.h>
Public Member Functions | |
bool | operator== (const TextEdit &rhs) const |
Public Attributes | |
Range | range |
The range of the text document to be manipulated. More... | |
std::string | newText |
The string to be inserted. More... | |
Definition at line 200 of file Protocol.h.
|
inline |
Definition at line 209 of file Protocol.h.
References clang::clangd::fromJSON(), newText, clang::clangd::operator<<(), range, 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 207 of file Protocol.h.
Referenced by clang::clangd::fromJSON(), clang::clangd::operator<<(), operator==(), clang::clangd::toJSON(), and clang::clangd::toTextEdit().
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 203 of file Protocol.h.
Referenced by clang::clangd::fromJSON(), clang::clangd::operator<<(), operator==(), clang::clangd::toJSON(), and clang::clangd::toTextEdit().