Preparing search index...
The search index is not available
Langium - v3.3.0
Langium
langium/lsp
SemanticTokenProvider
Interface SemanticTokenProvider
interface
SemanticTokenProvider
{
semanticTokensOptions
:
SemanticTokensOptions
;
tokenModifiers
:
Record
<
string
,
number
>
;
tokenTypes
:
Record
<
string
,
number
>
;
semanticHighlight
(
document
:
LangiumDocument
<
AstNode
>
,
params
:
SemanticTokensParams
,
cancelToken
?:
CancellationToken
)
:
MaybePromise
<
SemanticTokens
>
;
semanticHighlightDelta
(
document
:
LangiumDocument
<
AstNode
>
,
params
:
SemanticTokensDeltaParams
,
cancelToken
?:
CancellationToken
)
:
MaybePromise
<
SemanticTokens
|
SemanticTokensDelta
>
;
semanticHighlightRange
(
document
:
LangiumDocument
<
AstNode
>
,
params
:
SemanticTokensRangeParams
,
cancelToken
?:
CancellationToken
)
:
MaybePromise
<
SemanticTokens
>
;
}
Implemented by
AbstractSemanticTokenProvider
Index
Properties
semantic
Tokens
Options
token
Modifiers
token
Types
Methods
semantic
Highlight
semantic
Highlight
Delta
semantic
Highlight
Range
Properties
Readonly
semantic
Tokens
Options
semantic
Tokens
Options
:
SemanticTokensOptions
Readonly
token
Modifiers
token
Modifiers
:
Record
<
string
,
number
>
Readonly
token
Types
token
Types
:
Record
<
string
,
number
>
Methods
semantic
Highlight
semantic
Highlight
(
document
,
params
,
cancelToken
?
)
:
MaybePromise
<
SemanticTokens
>
Parameters
document
:
LangiumDocument
<
AstNode
>
params
:
SemanticTokensParams
Optional
cancelToken
:
CancellationToken
Returns
MaybePromise
<
SemanticTokens
>
semantic
Highlight
Delta
semantic
Highlight
Delta
(
document
,
params
,
cancelToken
?
)
:
MaybePromise
<
SemanticTokens
|
SemanticTokensDelta
>
Parameters
document
:
LangiumDocument
<
AstNode
>
params
:
SemanticTokensDeltaParams
Optional
cancelToken
:
CancellationToken
Returns
MaybePromise
<
SemanticTokens
|
SemanticTokensDelta
>
semantic
Highlight
Range
semantic
Highlight
Range
(
document
,
params
,
cancelToken
?
)
:
MaybePromise
<
SemanticTokens
>
Parameters
document
:
LangiumDocument
<
AstNode
>
params
:
SemanticTokensRangeParams
Optional
cancelToken
:
CancellationToken
Returns
MaybePromise
<
SemanticTokens
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
semantic
Tokens
Options
token
Modifiers
token
Types
Methods
semantic
Highlight
semantic
Highlight
Delta
semantic
Highlight
Range
Langium - v3.3.0
Loading...