class LSProtocol::CallHierarchyItem

Overview

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

@since 3.16.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def data : LSPAny | Nil #

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


[View source]
def detail : String | Nil #

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


[View source]
def kind : SymbolKind #

The kind of this item.


[View source]
def name : String #

The name of this item.


[View source]
def range : Range #

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


[View source]
def selection_range : Range #

[View source]
def tags : Array(SymbolTag) | Nil #

Tags for this item.


[View source]
def uri : URI #

The resource identifier of this item.


[View source]