public readonly property line as Long
Zero-based line number where the token starts.
Line index.
import klyn.code tok = Token(TokenKind.KEYWORD, "return", 5, 8, 40, 46) assert tok.line == 5