Skip to content

lsp / org.pinelang.lsp.lsp.models / SymbolInformation

SymbolInformation

data class SymbolInformation

Represents information about programming constructs like variables, classes, interfaces etc.

Constructors

Name Summary
<init> Represents information about programming constructs like variables, classes, interfaces etc.SymbolInformation(name:String, kind:SymbolKind, deprecated:Boolean?, location:Location, containerName:String?)

Properties

Name Summary
containerName 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.val containerName:String?
deprecated Indicates if this symbol is deprecated.val deprecated:Boolean?
kind The kind of this symbol.val kind:SymbolKind
location 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.val location:Location
name The name of this symbol.val name:String