clang-tools 19.0.0git
Public Attributes | List of all members
clang::clangd::TextDocumentContentChangeEvent Struct Reference

#include <Protocol.h>

Public Attributes

std::optional< Rangerange
 The range of the document that changed.
 
std::optional< int > rangeLength
 The length of the range that got replaced.
 
std::string text
 The new text of the range/document.
 

Detailed Description

Definition at line 771 of file Protocol.h.

Member Data Documentation

◆ range

std::optional<Range> clang::clangd::TextDocumentContentChangeEvent::range

The range of the document that changed.

Definition at line 773 of file Protocol.h.

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

◆ rangeLength

std::optional<int> clang::clangd::TextDocumentContentChangeEvent::rangeLength

The length of the range that got replaced.

Definition at line 776 of file Protocol.h.

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

◆ text

std::string clang::clangd::TextDocumentContentChangeEvent::text

The new text of the range/document.

Definition at line 779 of file Protocol.h.

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


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