class LSProtocol::SemanticTokensRangeParams

Overview

@since 3.16.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(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 partial_result_token : ProgressToken | Nil #

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


[View source]
def range : Range #

The range the semantic tokens are requested for.


[View source]
def text_document : TextDocumentIdentifier #

The text document.


[View source]
def work_done_token : ProgressToken | Nil #

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


[View source]