class LanguageServer::Protocol::Interface::CallHierarchyItem
def data
-
(unknown)
-
def data attributes.fetch(:data) end
def detail
-
(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
-
(SymbolKind)
-
def kind attributes.fetch(:kind) end
def name
-
(string)
-
def name attributes.fetch(:name) end
def range
-
(Range)
-
def range attributes.fetch(:range) end
def selection_range
-
(Range)
-
def selection_range attributes.fetch(:selectionRange) end
def tags
-
(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
-
(string)
-
def uri attributes.fetch(:uri) end