struct
LSP::SymbolInformation
- LSP::SymbolInformation
- Struct
- Value
- Object
Overview
Represents information about programming constructs like variables, classes, interfaces etc.
Included Modules
Defined in:
requests/language_features/document_symbols.crConstructors
Instance Method Summary
-
#container_name : String | Nil
The name of the symbol containing this symbol.
-
#container_name=(container_name : String | Nil)
The name of the symbol containing this symbol.
-
#deprecated : Bool | Nil
Indicates if this symbol is deprecated.
-
#deprecated=(deprecated : Bool | Nil)
Indicates if this symbol is deprecated.
-
#kind : LSP::SymbolKind
The kind of this symbol.
-
#kind=(kind : LSP::SymbolKind)
The kind of this symbol.
-
#location : LSP::Location
The location of this symbol.
-
#location=(location : LSP::Location)
The location of this symbol.
-
#name : String
The name of this symbol.
-
#name=(name : String)
The name of this symbol.
Macros inherited from module JSON::Serializable
json_discriminator(field, mapping, *, default = nil)
json_discriminator
Constructor Detail
Instance Method Detail
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.
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.
The location of this symbol. The location's range is used by a tool to reveal the location in the editor. If the symbol is selected in the tool the range's start information is used to position the cursor. So the range usually spans more then the actual symbol's name and does normally include things like visibility modifiers.
The range doesn't have to denote a node range in the sense of a abstract syntax tree. It can therefore not be used to re-construct a hierarchy of the symbols.
The location of this symbol. The location's range is used by a tool to reveal the location in the editor. If the symbol is selected in the tool the range's start information is used to position the cursor. So the range usually spans more then the actual symbol's name and does normally include things like visibility modifiers.
The range doesn't have to denote a node range in the sense of a abstract syntax tree. It can therefore not be used to re-construct a hierarchy of the symbols.