TypeHierarchyProvider class
The type hierarchy provider interface describes the contract between extensions and the type hierarchy feature.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
TypeHierarchyProvider({FutureOr<
Object> prepareTypeHierarchy(TextDocument, Position, CancellationToken)?, FutureOr<List< provideTypeHierarchySupertypes(TypeHierarchyItem, CancellationToken)?, FutureOr<TypeHierarchyItem> >List< provideTypeHierarchySubtypes(TypeHierarchyItem, CancellationToken)?})TypeHierarchyItem> > -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
prepareTypeHierarchy
↔ FutureOr<
Object> Function(TextDocument, Position, CancellationToken) -
Available on TypeHierarchyProvider, provided by the TypeHierarchyProvider$Typings extension
getter/setter pair -
provideTypeHierarchySubtypes
↔ FutureOr<
List< Function(TypeHierarchyItem, CancellationToken)TypeHierarchyItem> > -
Available on TypeHierarchyProvider, provided by the TypeHierarchyProvider$Typings extension
getter/setter pair -
provideTypeHierarchySupertypes
↔ FutureOr<
List< Function(TypeHierarchyItem, CancellationToken)TypeHierarchyItem> > -
Available on TypeHierarchyProvider, provided by the TypeHierarchyProvider$Typings extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited