class

LSProtocol::SelectionRangeRequest

Inherits JSON::Serializable / Reference / Object

A request to provide selection ranges in a document. The request's parameter is of type SelectionRangeParams, the response is of type Array(SelectionRange) or a Thenable that resolves to such.

Constructors

new(id : Int32 | String, params : SelectionRangeParams)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The request id.

Source
jsonrpc
Source
method

The method to be invoked.

Source
params
Source