provideCommentingRanges property

FutureOr<List<Range>> Function(TextDocument, CancellationToken) get provideCommentingRanges

Implementation

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

Implementation

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