class LSProtocol::RenameParams

Overview

The parameters of a RenameRequest.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(new_name : String | Nil, position : Position | Nil, text_document : TextDocumentIdentifier | Nil, work_done_token : ProgressToken | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def new_name : String #

The new name of the symbol. If the given name is not valid the request must return a ResponseError with an appropriate message set.


[View source]
def position : Position #

The position at which this request was sent.


[View source]
def text_document : TextDocumentIdentifier #

The document to rename.


[View source]
def work_done_token : ProgressToken | Nil #

An optional token that a server can use to report work done progress.


[View source]