public readonly property startOffset as Long
Zero-based inclusive start offset in the full source text.
Start offset.
import klyn.code tok = Token(TokenKind.KEYWORD, "return", 5, 8, 40, 46) assert tok.startOffset == 40