diff options
Diffstat (limited to '')
| -rw-r--r-- | token.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/token.go b/token.go new file mode 100644 index 0000000..ef3c92b --- /dev/null +++ b/token.go @@ -0,0 +1,10 @@ +package lex + +type Token struct { + Typ Typ + Pos int + Value string + Error error +} + +type Typ int |
