LLVM 22.0.0git
llvm::lsp::TextEdit Struct Reference

#include "llvm/Support/LSP/Protocol.h"

Public Attributes

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

Detailed Description

Definition at line 754 of file Protocol.h.

Member Data Documentation

◆ newText

std::string llvm::lsp::TextEdit::newText

The string to be inserted.

For delete operations use an empty string.

Definition at line 761 of file Protocol.h.

Referenced by llvm::lsp::operator==().

◆ range

Range llvm::lsp::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 757 of file Protocol.h.

Referenced by llvm::lsp::operator==().


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