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
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.