CallHierarchyProvider class

The call hierarchy provider interface describes the contract between extensions and the call hierarchy feature which allows to browse calls and caller of function, methods, constructor etc.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

CallHierarchyProvider({FutureOr<Object> prepareCallHierarchy(TextDocument, Position, CancellationToken)?, FutureOr<List<CallHierarchyIncomingCall>> provideCallHierarchyIncomingCalls(CallHierarchyItem, CancellationToken)?, FutureOr<List<CallHierarchyOutgoingCall>> provideCallHierarchyOutgoingCalls(CallHierarchyItem, CancellationToken)?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
prepareCallHierarchy FutureOr<Object> Function(TextDocument, Position, CancellationToken)

Available on CallHierarchyProvider, provided by the CallHierarchyProvider$Typings extension

getter/setter pair
provideCallHierarchyIncomingCalls FutureOr<List<CallHierarchyIncomingCall>> Function(CallHierarchyItem, CancellationToken)

Available on CallHierarchyProvider, provided by the CallHierarchyProvider$Typings extension

getter/setter pair
provideCallHierarchyOutgoingCalls FutureOr<List<CallHierarchyOutgoingCall>> Function(CallHierarchyItem, CancellationToken)

Available on CallHierarchyProvider, provided by the CallHierarchyProvider$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