class

LSProtocol::CallHierarchyItem

Inherits JSON::Serializable / Reference / Object

Represents programming constructs like functions or constructors in the context of call hierarchy.

@since 3.16.0

Constructors

new(kind : SymbolKind | Nil, name : String | Nil, range : Range | Nil, selection_range : Range | Nil, uri : URI | Nil, data : LSPAny | Nil = nil, detail : String | Nil = nil, tags : Array(SymbolTag) | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

data

A data entry field that is preserved between a call hierarchy prepare and incoming calls or outgoing calls requests.

Source
detail

More detail for this item, e.g. the signature of a function.

Source
kind

The kind of this item.

Source
name

The name of this item.

Source
range

The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.

Source
selection_range

The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function. Must be contained by the CallHierarchyItem#range.

Source
tags

Tags for this item.

Source
uri

The resource identifier of this item.

Source