getTokens

open override fun getTokens(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

document

the current document