DocumentSymbol

constructor(name: String, detail: String, kind: SymbolKind, range: Range, selectionRange: Range)(source)

Creates a new document symbol.

Parameters

name

The name of the symbol.

detail

Details for the symbol.

kind

The kind of the symbol.

range

The full range of the symbol.

selectionRange

The range that should be reveal.

Online Documentation