clang-tools 20.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 774 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 776 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 779 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 782 of file Protocol.h.

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


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