this.token = token;
this.literalKind = kind;
}
private static LiteralKind computeLiteralKind(String tokenString) {
LiteralToken token = LiteralAnalyzer.parse(tokenString);
switch (token.getKind()) {
case INT: return LiteralKind.INT;
case LONG: return LiteralKind.LONG;
case FLOAT: return LiteralKind.FLOAT;
case DOUBLE: return LiteralKind.DOUBLE;
case CHAR: return LiteralKind.CHAR;