class LanguageServer::Protocol::Interface::SemanticTokensRangeParams
def initialize(work_done_token: nil, partial_result_token: nil, text_document:, range:)
def initialize(work_done_token: nil, partial_result_token: nil, text_document:, range:) @attributes = {} @attributes[:workDoneToken] = work_done_token if work_done_token @attributes[:partialResultToken] = partial_result_token if partial_result_token @attributes[:textDocument] = text_document @attributes[:range] = range @attributes.freeze end
def partial_result_token
-
(ProgressToken)
-
def partial_result_token attributes.fetch(:partialResultToken) end
def range
-
(Range)
-
def range attributes.fetch(:range) end
def text_document
-
(TextDocumentIdentifier)
-
def text_document attributes.fetch(:textDocument) end
def to_hash
def to_hash attributes end
def to_json(*args)
def to_json(*args) to_hash.to_json(*args) end
def work_done_token
-
(ProgressToken)
-
def work_done_token attributes.fetch(:workDoneToken) end