provideDocumentLinks property

FutureOr<List<T>> Function(TextDocument, CancellationToken) get provideDocumentLinks

Implementation

_i4.FutureOr<_i2.List<T>> Function(
  _i3.TextDocument,
  _i3.CancellationToken,
) get provideDocumentLinks => (
      _i3.TextDocument p0,
      _i3.CancellationToken p1,
    ) =>
        _i5.callMethod(
          _i5.getProperty(
            this,
            'provideDocumentLinks',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );
set provideDocumentLinks (FutureOr<List<T>> value(TextDocument, CancellationToken))

Implementation

set provideDocumentLinks(
    _i4.FutureOr<_i2.List<T>> Function(
      _i3.TextDocument,
      _i3.CancellationToken,
    ) value) {
  _i5.setProperty(
    this,
    'provideDocumentLinks',
    _i5.allowInterop((
      p0,
      p1,
    ) =>
        _i6.Promise.futureOr(() => value(
              p0,
              p1,
            ))),
  );
}