CallHierarchyProvider constructor
CallHierarchyProvider({
- FutureOr<
Object> prepareCallHierarchy()?, - FutureOr<
List< provideCallHierarchyIncomingCalls()?,CallHierarchyIncomingCall> > - FutureOr<
List< provideCallHierarchyOutgoingCalls()?,CallHierarchyOutgoingCall> >
Implementation
factory CallHierarchyProvider({
_i4.FutureOr<_i2.Object> Function(
_i3.TextDocument,
_i3.Position,
_i3.CancellationToken,
)? prepareCallHierarchy,
_i4.FutureOr<_i2.List<_i3.CallHierarchyIncomingCall>> Function(
_i3.CallHierarchyItem,
_i3.CancellationToken,
)? provideCallHierarchyIncomingCalls,
_i4.FutureOr<_i2.List<_i3.CallHierarchyOutgoingCall>> Function(
_i3.CallHierarchyItem,
_i3.CancellationToken,
)? provideCallHierarchyOutgoingCalls,
}) =>
CallHierarchyProvider._(
prepareCallHierarchy: prepareCallHierarchy == null
? null
: _i5.allowInterop((
p0,
p1,
p2,
) =>
_i6.Promise.futureOr(() => prepareCallHierarchy(
p0,
p1,
p2,
))),
provideCallHierarchyIncomingCalls: provideCallHierarchyIncomingCalls ==
null
? null
: _i5.allowInterop((
p0,
p1,
) =>
_i6.Promise.futureOr(() => provideCallHierarchyIncomingCalls(
p0,
p1,
))),
provideCallHierarchyOutgoingCalls: provideCallHierarchyOutgoingCalls ==
null
? null
: _i5.allowInterop((
p0,
p1,
) =>
_i6.Promise.futureOr(() => provideCallHierarchyOutgoingCalls(
p0,
p1,
))),
);