Defining some types to build our lexer
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
package token
|
||||||
|
|
||||||
|
type TokenType string
|
||||||
|
|
||||||
|
type Token struct {
|
||||||
|
Type TokenType
|
||||||
|
Literal string
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user