class LSProtocol::BaseSymbolInformation
- LSProtocol::BaseSymbolInformation
- Reference
- Object
Overview
A base for all symbol information.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(kind : SymbolKind | Nil, name : String | Nil, container_name : String | Nil = nil, tags : Array(SymbolTag) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#container_name : String | Nil
The name of the symbol containing this symbol.
-
#kind : SymbolKind
The kind of this symbol.
-
#name : String
The name of this symbol.
-
#tags : Array(SymbolTag) | Nil
Tags for this symbol.
Constructor Detail
def self.new(kind : SymbolKind | Nil, name : String | Nil, container_name : String | Nil = nil, tags : Array(SymbolTag) | Nil = nil)
#
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.