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

Constructor

new(kind:SymbolKind, name:String, detail:String, uri:Uri, range:Range, selectionRange:Range)

Creates a new type hierarchy item.

Parameters:

kind

The kind of the item.

name

The name of the item.

detail

The details of the item.

uri

The Uri of the item.

range

The whole range of the item.

selectionRange

The selection range of the item.

Variables

detail:Null<String>

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

kind:SymbolKind

The kind of this item.

name:String

The name of this item.

range:Range

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

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 {@link TypeHierarchyItem.range range}-property.

tags:Null<ReadOnlyArray<SymbolTag>>

Tags for this item.

uri:Uri

The resource identifier of this item.