parser: introduce Token and TokenType enum

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-08-30 20:00:29 +00:00
parent 5288cd4537
commit 604ecfaed2
5 changed files with 74 additions and 1 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ go 1.19
require (
asciigoat.org/core v0.3.6
github.com/mgechev/revive v1.3.3
golang.org/x/tools v0.12.0
)
require (
@@ -19,6 +20,6 @@ require (
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/pkg/errors v0.9.1 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/tools v0.12.0 // indirect
)