provideCompletionItems property

FutureOr<Object> Function(TextDocument, Position, CancellationToken, CompletionContext) get provideCompletionItems

Implementation

_i4.FutureOr<_i2.Object> Function(
  _i3.TextDocument,
  _i3.Position,
  _i3.CancellationToken,
  _i3.CompletionContext,
) get provideCompletionItems => (
      _i3.TextDocument p0,
      _i3.Position p1,
      _i3.CancellationToken p2,
      _i3.CompletionContext p3,
    ) =>
        _i5.callMethod(
          _i5.getProperty(
            this,
            'provideCompletionItems',
          ),
          r'call',
          [
            this,
            p0,
            p1,
            p2,
            p3,
          ],
        );
set provideCompletionItems (FutureOr<Object> value(TextDocument, Position, CancellationToken, CompletionContext))

Implementation

set provideCompletionItems(
    _i4.FutureOr<_i2.Object> Function(
      _i3.TextDocument,
      _i3.Position,
      _i3.CancellationToken,
      _i3.CompletionContext,
    ) value) {
  _i5.setProperty(
    this,
    'provideCompletionItems',
    _i5.allowInterop((
      p0,
      p1,
      p2,
      p3,
    ) =>
        _i6.Promise.futureOr(() => value(
              p0,
              p1,
              p2,
              p3,
            ))),
  );
}