class LanguageServer::Protocol::Interface::DidChangeTextDocumentParams

def content_changes

Returns:
  • (TextDocumentContentChangeEvent[]) -
def content_changes
  attributes.fetch(:contentChanges)
end

def initialize(text_document:, content_changes:)

def initialize(text_document:, content_changes:)
  @attributes = {}
  @attributes[:textDocument] = text_document
  @attributes[:contentChanges] = content_changes
  @attributes.freeze
end

def text_document

Returns:
  • (VersionedTextDocumentIdentifier) -
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