getTokens

open override fun getTokens(params: SemanticTokensParams, document: TextDocument): Iterable<SimpleTokenData>

Generates a list of simplified semantic tokens, which will be converted to full semantic tokens later.

Return

a list of semantic tokens that can be used for highlighting

Parameters

params

the parameters for the semantic tokens request

document

the current document