clang-tools 20.0.0git
Public Attributes | List of all members
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(), and clang::clangd::toJSON().

◆ textDocument

VersionedTextDocumentIdentifier clang::clangd::TextDocumentEdit::textDocument

The text document to change.

Definition at line 282 of file Protocol.h.

Referenced by clang::clangd::fromJSON(), and clang::clangd::toJSON().


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