class LanguageServer::Protocol::Interface::CallHierarchyItem

def data

Returns:
  • (unknown) -
def data
  attributes.fetch(:data)
end

def detail

Returns:
  • (string) -
def detail
  attributes.fetch(:detail)
end

def initialize(name:, kind:, tags: nil, detail: nil, uri:, range:, selection_range:, data: nil)

def initialize(name:, kind:, tags: nil, detail: nil, uri:, range:, selection_range:, data: nil)
  @attributes = {}
  @attributes[:name] = name
  @attributes[:kind] = kind
  @attributes[:tags] = tags if tags
  @attributes[:detail] = detail if detail
  @attributes[:uri] = uri
  @attributes[:range] = range
  @attributes[:selectionRange] = selection_range
  @attributes[:data] = data if data
  @attributes.freeze
end

def kind

Returns:
  • (SymbolKind) -
def kind
  attributes.fetch(:kind)
end

def name

Returns:
  • (string) -
def name
  attributes.fetch(:name)
end

def range

Returns:
  • (Range) -
def range
  attributes.fetch(:range)
end

def selection_range

Returns:
  • (Range) -
def selection_range
  attributes.fetch(:selectionRange)
end

def tags

Returns:
  • (1[]) -
def tags
  attributes.fetch(:tags)
end

def to_hash

def to_hash
  attributes
end

def to_json(*args)

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

def uri

Returns:
  • (string) -
def uri
  attributes.fetch(:uri)
end