public readonly property text as String
Exact source substring of the token.
Token text.
import klyn.code tok = Token(TokenKind.NUMBER, "42") assert tok.text == "42"