Versions in this module Expand all Collapse all v1 v1.0.1 Jun 30, 2026 v1.0.0 Jun 30, 2026 Changes in this version + type LexError struct + Cause error + Column int + Detail string + Filename string + Line int + func (e *LexError) Error() string + func (e *LexError) Unwrap() error + type Lexer struct + func NewLexer(filename string, input []byte) *Lexer + func (l *Lexer) Next() (Token, error) + type Token struct + Column int + Line int + Type TokenType + Value string + type TokenType int8 + const TokenComment + const TokenEOF + const TokenFloatLiteral + const TokenIdentifier + const TokenIntLiteral + const TokenInvalid + const TokenKeyword + const TokenStringLiteral + const TokenSymbol + func (t TokenType) String() string + func (t TokenType) Valid() bool