aboutsummaryrefslogblamecommitdiff
path: root/statefunc.go
blob: 5980ecc1e17971f1e373d2be4530b2b8618f218a (plain) (tree)
1
2
3
4



                                                                                                             
package unilex

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