diff options
author | Tom Willemse | 2021-07-08 00:14:31 -0700 |
---|---|---|
committer | Tom Willemse | 2021-07-08 02:25:13 -0700 |
commit | 68a2ebd34fc94488e89ffb82b359ec6e7e152ae9 (patch) | |
tree | 0dbbe26aff8fc38805b4b3780ae7842c433b9522 /src/com/craftinginterpreters/lox/Token.java | |
parent | 62bd0f83dc909547a69abb8b0aed40cf098b4c95 (diff) | |
download | crafting-interpreters-68a2ebd34fc94488e89ffb82b359ec6e7e152ae9.tar.gz crafting-interpreters-68a2ebd34fc94488e89ffb82b359ec6e7e152ae9.zip |
Restructure project to make room for clox
Diffstat (limited to 'src/com/craftinginterpreters/lox/Token.java')
-rw-r--r-- | src/com/craftinginterpreters/lox/Token.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/com/craftinginterpreters/lox/Token.java b/src/com/craftinginterpreters/lox/Token.java deleted file mode 100644 index 84762a4..0000000 --- a/src/com/craftinginterpreters/lox/Token.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.craftinginterpreters.lox; - -class Token { - final TokenType type; - final String lexeme; - final Object literal; - final int line; - - Token(TokenType type, String lexeme, Object literal, int line) { - this.type = type; - this.lexeme = lexeme; - this.literal = literal; - this.line = line; - } - - public String toString() { - return type + " " + lexeme + " " + literal; - } -} |