provideCodeActions property
FutureOr<List<Object> > Function(TextDocument, Object, CodeActionContext, CancellationToken)
get
provideCodeActions
Implementation
_i4.FutureOr<_i2.List<_i2.Object>> Function(
_i3.TextDocument,
_i2.Object,
_i3.CodeActionContext,
_i3.CancellationToken,
) get provideCodeActions => (
_i3.TextDocument p0,
_i2.Object p1,
_i3.CodeActionContext p2,
_i3.CancellationToken p3,
) =>
_i5.callMethod(
_i5.getProperty(
this,
'provideCodeActions',
),
r'call',
[
this,
p0,
p1,
p2,
p3,
],
);
set
provideCodeActions
(FutureOr<List<Object> > value(TextDocument, Object, CodeActionContext, CancellationToken))
Implementation
set provideCodeActions(
_i4.FutureOr<_i2.List<_i2.Object>> Function(
_i3.TextDocument,
_i2.Object,
_i3.CodeActionContext,
_i3.CancellationToken,
) value) {
_i5.setProperty(
this,
'provideCodeActions',
_i5.allowInterop((
p0,
p1,
p2,
p3,
) =>
_i6.Promise.futureOr(() => value(
p0,
p1,
p2,
p3,
))),
);
}