diff options
Diffstat (limited to 'statefunc.go')
-rw-r--r-- | statefunc.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/statefunc.go b/statefunc.go new file mode 100644 index 0000000..5980ecc --- /dev/null +++ b/statefunc.go @@ -0,0 +1,4 @@ +package unilex + +// StateFunc represents function that scans lexems and returns new state function or nil if lexing completed. +type StateFunc func(*Lexer) StateFunc |