class LanguageServer::Protocol::Interface::TextDocumentChangeRegistrationOptions


Describe options to be used when registering for text document change events.

def document_selector

Returns:
  • (DocumentSelector) -
def document_selector
  attributes.fetch(:documentSelector)
end

def initialize(document_selector:, sync_kind:)

def initialize(document_selector:, sync_kind:)
  @attributes = {}
  @attributes[:documentSelector] = document_selector
  @attributes[:syncKind] = sync_kind
  @attributes.freeze
end

def sync_kind

Returns:
  • (TextDocumentSyncKind) -
def sync_kind
  attributes.fetch(:syncKind)
end

def to_hash

def to_hash
  attributes
end

def to_json(*args)

def to_json(*args)
  to_hash.to_json(*args)
end