Sha256: 057928b14c97ac581dde32422d5054837b41c415f79e9b96dd136f7069b64310
Contents?: true
Size: 779 Bytes
Versions: 4
Compression:
Stored size: 779 Bytes
Contents
module LanguageServer module Protocol module Interface class DocumentLinkParams < PartialResultParams def initialize(partial_result_token: nil, text_document:) @attributes = {} @attributes[:partialResultToken] = partial_result_token if partial_result_token @attributes[:textDocument] = text_document @attributes.freeze end # # The document to provide document links for. # # @return [TextDocumentIdentifier] def text_document attributes.fetch(:textDocument) end attr_reader :attributes def to_hash attributes end def to_json(*args) to_hash.to_json(*args) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems