TypeHierarchyItem

Represents an item of a type hierarchy, like a class or an interface.

Online Documentation

Constructors

Link copied to clipboard
constructor(kind: SymbolKind, name: String, detail: String, uri: Uri, range: Range, selectionRange: Range)

Creates a new type hierarchy item.

Properties

Link copied to clipboard
external var detail: String?

More detail for this item, e.g. the signature of a function.

Link copied to clipboard
external var kind: SymbolKind

The kind of this item.

Link copied to clipboard
external var name: String

The name of this item.

Link copied to clipboard
external var range: Range

The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.

Link copied to clipboard
external var selectionRange: Range

The range that should be selected and revealed when this symbol is being picked, e.g. the name of a class. Must be contained by the range-property.

Link copied to clipboard
external var tags: ReadonlyArray<SymbolTag>?

Tags for this item.

Link copied to clipboard
external var uri: Uri

The resource identifier of this item.