klyn.code.Token.text
property
public readonly property text as String
Description

Exact source substring of the token.

Returns

Token text.

Example
import klyn.code

tok = Token(TokenKind.NUMBER, "42")
assert tok.text == "42"