aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/craftinginterpreters/lox/Token.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/craftinginterpreters/lox/Token.java')
-rw-r--r--src/com/craftinginterpreters/lox/Token.java19
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;
- }
-}