class LSProtocol::SemanticTokensDeltaParams
- LSProtocol::SemanticTokensDeltaParams
- Reference
- Object
Overview
@since 3.16.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(previous_result_id : String | Nil, text_document : TextDocumentIdentifier | Nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#partial_result_token : ProgressToken | Nil
An optional token that a server can use to report partial results (e.g.
-
#previous_result_id : String
The result id of a previous response.
-
#text_document : TextDocumentIdentifier
The text document.
-
#work_done_token : ProgressToken | Nil
An optional token that a server can use to report work done progress.
Constructor Detail
def self.new(previous_result_id : String | Nil, text_document : TextDocumentIdentifier | Nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil)
#
Instance Method Detail
def partial_result_token : ProgressToken | Nil
#
An optional token that a server can use to report partial results (e.g. streaming) to the client.
def previous_result_id : String
#
The result id of a previous response. The result Id can either point to a full response or a delta response depending on what was received last.
def work_done_token : ProgressToken | Nil
#
An optional token that a server can use to report work done progress.