TokenData

constructor(text: String, position: IntRange)

Parameters

text

the substring extracted from the source code, also known as lexeme

position

location of the token within the source code