return;
case DOUBLE_LITERAL:
set(node, new FloatingPointLiteral().astDoubleValue(((Number)val).doubleValue()));
return;
case BOOLEAN_LITERAL:
set(node, new BooleanLiteral().astValue((Boolean)val));
return;
case CHAR_LITERAL:
set(node, new CharLiteral().astValue((Character)val));
return;
case STRING_LITERAL: