package Interpreter; public class Token { //Stores the token type, the actual text and the runtime object final TokenType type; final String text; final Object value; Token(TokenType type, String text, Object value){ this.type=type; this.text=text; this.value=value; } @Override public String toString() { return type + " " + text + " " + value; } }