public readonly property kind as TokenKind
Lexical classification of the token.
The token's TokenKind.
TokenKind
import klyn.code tok = Token(TokenKind.NUMBER, "42") assert tok.kind == TokenKind.NUMBER