class LanguageServer::Protocol::Interface::SemanticTokensEdit

def data

Returns:
  • (number[]) -
def data
  attributes.fetch(:data)
end

def delete_count

Returns:
  • (number) -
def delete_count
  attributes.fetch(:deleteCount)
end

def initialize(start:, delete_count:, data: nil)

def initialize(start:, delete_count:, data: nil)
  @attributes = {}
  @attributes[:start] = start
  @attributes[:deleteCount] = delete_count
  @attributes[:data] = data if data
  @attributes.freeze
end

def start

Returns:
  • (number) -
def start
  attributes.fetch(:start)
end

def to_hash

def to_hash
  attributes
end

def to_json(*args)

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