class LSProtocol::BaseSymbolInformation

Overview

A base for all symbol information.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(kind : SymbolKind | Nil, name : String | Nil, container_name : String | Nil = nil, tags : Array(SymbolTag) | Nil = nil) #

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

[View source]

Instance Method Detail

def container_name : String | Nil #

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.


[View source]
def kind : SymbolKind #

The kind of this symbol.


[View source]
def name : String #

The name of this symbol.


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

Tags for this symbol.

@since 3.16.0


[View source]