clang-tools 22.0.0git
clang::clangd::TextDocumentEdit Struct Reference

#include <Protocol.h>

Public Attributes

VersionedTextDocumentIdentifier textDocument
 The text document to change.
std::vector< TextEditedits
 The edits to be applied.

Detailed Description

Definition at line 280 of file Protocol.h.

Member Data Documentation

◆ edits

std::vector<TextEdit> clang::clangd::TextDocumentEdit::edits

The edits to be applied.

FIXME: support the AnnotatedTextEdit variant.

Definition at line 286 of file Protocol.h.

Referenced by clang::clangd::fromJSON().

◆ textDocument

VersionedTextDocumentIdentifier clang::clangd::TextDocumentEdit::textDocument

The text document to change.

Definition at line 282 of file Protocol.h.

Referenced by clang::clangd::fromJSON().


The documentation for this struct was generated from the following file: