MLIR  16.0.0git
Public Attributes | List of all members
mlir::lsp::TextEdit Struct Reference

#include "Tools/lsp-server-support/Protocol.h"

+ Collaboration diagram for mlir::lsp::TextEdit:

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

Member Data Documentation

◆ newText

std::string mlir::lsp::TextEdit::newText

The string to be inserted.

For delete operations use an empty string.

Definition at line 711 of file Protocol.h.

Referenced by mlir::lsp::fromJSON(), mlir::lsp::operator<<(), and mlir::lsp::toJSON().

◆ range

Range mlir::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 707 of file Protocol.h.

Referenced by mlir::lsp::fromJSON(), mlir::lsp::operator<<(), and mlir::lsp::toJSON().


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