clang-tools  9.0.0
Public Attributes | List of all members
clang::clangd::TextEdit Struct Reference

#include <Protocol.h>

Collaboration diagram for clang::clangd::TextEdit:
[legend]

Public Attributes

Range range
 The range of the text document to be manipulated. More...
 
std::string newText
 The string to be inserted. More...
 

Detailed Description

Definition at line 201 of file Protocol.h.

Member Data Documentation

◆ newText

std::string clang::clangd::TextEdit::newText

The string to be inserted.

For delete operations use an empty string.

Definition at line 208 of file Protocol.h.

Referenced by clang::clangd::operator==(), and clang::clangd::toTextEdit().

◆ range

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 204 of file Protocol.h.

Referenced by clang::clangd::operator==(), and clang::clangd::toTextEdit().


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