Versions in this module Expand all Collapse all v6 v6.13.0 Oct 5, 2024 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