DocumentRangeSemanticTokensProvider constructor
DocumentRangeSemanticTokensProvider({
- FutureOr<
SemanticTokens> provideDocumentRangeSemanticTokens()?,
Implementation
factory DocumentRangeSemanticTokensProvider(
{_i4.FutureOr<_i3.SemanticTokens> Function(
_i3.TextDocument,
_i3.Range,
_i3.CancellationToken,
)? provideDocumentRangeSemanticTokens}) =>
DocumentRangeSemanticTokensProvider._(
provideDocumentRangeSemanticTokens:
provideDocumentRangeSemanticTokens == null
? null
: _i5.allowInterop((
p0,
p1,
p2,
) =>
_i6.Promise.futureOr(
() => provideDocumentRangeSemanticTokens(
p0,
p1,
p2,
))));