unilex/statefunc.go

5 lines
164 B
Go
Raw Normal View History

2021-03-06 22:30:32 +03:00
package unilex
// StateFunc represents function that scans lexems and returns new state function or nil if lexing completed.
type StateFunc func(*Lexer) StateFunc