class

LSProtocol::RenameParams

Inherits JSON::Serializable / Reference / Object

The parameters of a RenameRequest.

Constructors

new(new_name : String | Nil, position : Position | Nil, text_document : TextDocumentIdentifier | Nil, work_done_token : ProgressToken | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

new_name

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

Source
position

The position at which this request was sent.

Source
text_document

The document to rename.

Source
work_done_token

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

Source