unilex/statefunc.go
2021-03-06 22:30:32 +03:00

4 lines
164 B
Go

package unilex
// StateFunc represents function that scans lexems and returns new state function or nil if lexing completed.
type StateFunc func(*Lexer) StateFunc