class

LSProtocol::BaseSymbolInformation

Inherits JSON::Serializable / Reference / Object

A base for all symbol information.

Constructors

new(kind : SymbolKind | Nil, name : String | Nil, container_name : 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

container_name

The name of the symbol containing this symbol. This information is for user interface purposes (e.g. to render a qualifier in the user interface if necessary). It can't be used to re-infer a hierarchy for the document symbols.

Source
kind

The kind of this symbol.

Source
name

The name of this symbol.

Source
tags

Tags for this symbol.

@since 3.16.0

Source