provideDocumentRangeSemanticTokens property

FutureOr<SemanticTokens> Function(TextDocument, Range, CancellationToken) get provideDocumentRangeSemanticTokens

Implementation

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

Implementation

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