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

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

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

Referenced by mlir::lsp::fromJSON(), mlir::lsp::operator<<(), 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 747 of file Protocol.h.

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


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