SemanticTokenData

data class SemanticTokenData(val line: Int, val startChar: Int, val length: Int, val tokenType: Int, val tokenModifiers: Int)

A semantic token for use in semantic highlighting.

Parameters

line

zero-based line number of the token

startChar

zero-based character offset at which the token starts

length

length of the token in characters

tokenType

encoded token type index

tokenModifiers

encoded bitmask of token modifiers

Constructors

Link copied to clipboard
constructor(line: Int, startChar: Int, length: Int, tokenType: Int, tokenModifiers: Int)

Properties

Link copied to clipboard
val length: Int
Link copied to clipboard
val line: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard