unilex/statefunc.go
Alexander Kiryukhin 93740d2d15
Initial
2021-03-06 22:30:32 +03:00

5 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