8081828384858687888990
switch (token.kind) { case INTEGER: return new IntLiteral(token.value); case LONG: return new LongLiteral(token.value); case STRING: return new StringLiteral(token.value); case REGEX: return new RegexLiteral(token.value); }