class

LSProtocol::ColorPresentationParams

Inherits JSON::Serializable / Reference / Object

Parameters for a ColorPresentationRequest.

Constructors

new(color : Color | Nil, range : Range | Nil, text_document : TextDocumentIdentifier | Nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

color

The color to request presentations for.

Source
partial_result_token

An optional token that a server can use to report partial results (e.g. streaming) to the client.

Source
range

The range where the color would be inserted. Serves as a context.

Source
text_document

The text document.

Source
work_done_token

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

Source