x4js - v2.2.49
GitHub
Preparing search index...
<internal>
src/components/monaco/bin/monaco
languages
DocumentSemanticTokensProvider
Interface DocumentSemanticTokensProvider
interface
DocumentSemanticTokensProvider
{
onDidChange
?:
IEvent
<
void
>
;
getLegend
()
:
SemanticTokensLegend
;
provideDocumentSemanticTokens
(
model
:
ITextModel
,
lastResultId
:
string
,
token
:
CancellationToken
,
)
:
ProviderResult
<
SemanticTokens
|
SemanticTokensEdits
>
;
releaseDocumentSemanticTokens
(
resultId
:
string
)
:
void
;
}
Index
Properties
on
Did
Change?
Methods
get
Legend
provide
Document
Semantic
Tokens
release
Document
Semantic
Tokens
Properties
Optional
Readonly
on
Did
Change
onDidChange
?:
IEvent
<
void
>
Methods
get
Legend
getLegend
()
:
SemanticTokensLegend
Returns
SemanticTokensLegend
provide
Document
Semantic
Tokens
provideDocumentSemanticTokens
(
model
:
ITextModel
,
lastResultId
:
string
,
token
:
CancellationToken
,
)
:
ProviderResult
<
SemanticTokens
|
SemanticTokensEdits
>
Parameters
model
:
ITextModel
lastResultId
:
string
token
:
CancellationToken
Returns
ProviderResult
<
SemanticTokens
|
SemanticTokensEdits
>
release
Document
Semantic
Tokens
releaseDocumentSemanticTokens
(
resultId
:
string
)
:
void
Parameters
resultId
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
on
Did
Change
Methods
get
Legend
provide
Document
Semantic
Tokens
release
Document
Semantic
Tokens
GitHub
x4js - v2.2.49
Loading...