class LSProtocol::ColorPresentationParams
- LSProtocol::ColorPresentationParams
- Reference
- Object
Overview
Parameters for a ColorPresentationRequest
.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(color : Color | Nil, range : Range | Nil, text_document : TextDocumentIdentifier | Nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#color : Color
The color to request presentations for.
- #partial_result_token : ProgressToken | Nil
-
#range : Range
The range where the color would be inserted.
- #text_document : TextDocumentIdentifier
- #work_done_token : ProgressToken | Nil
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)
#