SymbolInformation

langoustine.lsp.structures.SymbolInformation
See theSymbolInformation companion object
case class SymbolInformation(deprecated: Opt[Boolean], location: Location, name: String, kind: SymbolKind, tags: Opt[Vector[SymbolTag]], containerName: Opt[String])

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

Value parameters

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.

deprecated

Indicates if this symbol is deprecated.

kind

The kind of this symbol.

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 than 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 an abstract syntax tree. It can therefore not be used to re-construct a hierarchy of the symbols.

name

The name of this symbol.

tags

Tags for this symbol. since 3.16.0

Attributes

Companion
object
Source
structures.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product