class LanguageServer::Protocol::Interface::SemanticTokensDeltaPartialResult
Attributes
attributes[R]
Public Class Methods
new(edits:)
click to toggle source
# File lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb, line 5 def initialize(edits:) @attributes = {} @attributes[:edits] = edits @attributes.freeze end
Public Instance Methods
edits()
click to toggle source
@return [SemanticTokensEdit
# File lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb, line 14 def edits attributes.fetch(:edits) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb, line 20 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb, line 24 def to_json(*args) to_hash.to_json(*args) end