Versions in this module Expand all Collapse all v1 v1.0.1 May 14, 2024 v1.0.0 Sep 23, 2022 Changes in this version + const NoState + const NumStates + const NumSymbols + var ActTab = ActionTable + var TransTab = TransitionTable + type ActionRow struct + Accept token.Type + Ignore string + func (a ActionRow) String() string + type ActionTable [NumStates]ActionRow + type Lexer struct + Context token.Context + func NewLexer(src []byte) *Lexer + func NewLexerFile(fpath string) (*Lexer, error) + func (l *Lexer) Reset() + func (l *Lexer) Scan() (tok *token.Token) + type SourceContext struct + Filepath string + func (s *SourceContext) Source() string + type TransitionTable [NumStates]func(rune) int