provideDocumentSemanticTokens property
FutureOr<SemanticTokens> Function(TextDocument, CancellationToken)
get
provideDocumentSemanticTokens
Implementation
_i4.FutureOr<_i3.SemanticTokens> Function(
_i3.TextDocument,
_i3.CancellationToken,
) get provideDocumentSemanticTokens => (
_i3.TextDocument p0,
_i3.CancellationToken p1,
) =>
_i5.callMethod(
_i5.getProperty(
this,
'provideDocumentSemanticTokens',
),
r'call',
[
this,
p0,
p1,
],
);
set
provideDocumentSemanticTokens
(FutureOr<SemanticTokens> value(TextDocument, CancellationToken))
Implementation
set provideDocumentSemanticTokens(
_i4.FutureOr<_i3.SemanticTokens> Function(
_i3.TextDocument,
_i3.CancellationToken,
) value) {
_i5.setProperty(
this,
'provideDocumentSemanticTokens',
_i5.allowInterop((
p0,
p1,
) =>
_i6.Promise.futureOr(() => value(
p0,
p1,
))),
);
}