Sha256: ca7521ad4ef39d9f404dff7234c78337e8838c72e0fca6cf1030b30ccda05cd3

Contents?: true

Size: 511 Bytes

Versions: 4

Compression:

Stored size: 511 Bytes

Contents

module LanguageServer
  module Protocol
    module Interface
      class DeclarationParams < PartialResultParams
        def initialize(partial_result_token: nil)
          @attributes = {}

          @attributes[:partialResultToken] = partial_result_token if partial_result_token

          @attributes.freeze
        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

Version Path
language_server-protocol-3.16.0.0 lib/language_server/protocol/interface/declaration_params.rb
language_server-protocol-3.15.0.2 lib/language_server/protocol/interface/declaration_params.rb
language_server-protocol-3.15.0.1 lib/language_server/protocol/interface/declaration_params.rb
language_server-protocol-3.15.0.0 lib/language_server/protocol/interface/declaration_params.rb