class LSProtocol::ColorPresentationParams

Overview

Parameters for a ColorPresentationRequest.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(color : Color | Nil, range : Range | Nil, text_document : TextDocumentIdentifier | Nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil) #

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

[View source]

Instance Method Detail

def color : Color #

The color to request presentations for.


[View source]
def partial_result_token : ProgressToken | Nil #

[View source]
def range : Range #

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


[View source]
def text_document : TextDocumentIdentifier #

[View source]
def work_done_token : ProgressToken | Nil #

[View source]