case STRING_LITERAL: str = StringLiteral(); lit.setValue(new StringLiteral(str)); break; case INTEGER_LITERAL: jj_consume_token(INTEGER_LITERAL); lit.setValue(new LongIntegerLiteral(new Long(token.image))); break; case FLOAT_LITERAL: jj_consume_token(FLOAT_LITERAL); lit.setValue(new FloatLiteral(new Float(token.image))); break; case DOUBLE_LITERAL: jj_consume_token(DOUBLE_LITERAL); lit.setValue(new DoubleLiteral(new Double(token.image))); break; case MISSING: jj_consume_token(MISSING); lit.setValue(MissingLiteral.INSTANCE); break; case NULL: jj_consume_token(NULL); lit.setValue(NullLiteral.INSTANCE); break; case TRUE: jj_consume_token(TRUE); lit.setValue(TrueLiteral.INSTANCE); break; case FALSE:
case STRING_LITERAL: str = StringLiteral(); lit.setValue(new StringLiteral(str)); break; case INTEGER_LITERAL: jj_consume_token(INTEGER_LITERAL); lit.setValue(new LongIntegerLiteral(new Long(token.image))); break; case FLOAT_LITERAL: jj_consume_token(FLOAT_LITERAL); lit.setValue(new FloatLiteral(new Float(token.image))); break; case DOUBLE_LITERAL: jj_consume_token(DOUBLE_LITERAL); lit.setValue(new DoubleLiteral(new Double(token.image))); break; case MISSING: jj_consume_token(MISSING); lit.setValue(MissingLiteral.INSTANCE); break; case NULL: jj_consume_token(NULL); lit.setValue(NullLiteral.INSTANCE); break; case TRUE: jj_consume_token(TRUE); lit.setValue(TrueLiteral.INSTANCE); break; case FALSE:
case STRING_LITERAL: str = StringLiteral(); lit.setValue(new StringLiteral(str)); break; case INTEGER_LITERAL: jj_consume_token(INTEGER_LITERAL); try { lit.setValue(new LongIntegerLiteral(Long.valueOf(token.image))); } catch (NumberFormatException e) { {if (true) throw new SqlppParseException(getSourceLocation(token), "Could not parse numeric literal \u005c"" + LogRedactionUtil.userData(token.image) +'"');} jj_consume_token(FLOAT_LITERAL); try { lit.setValue(new FloatLiteral(Float.valueOf(token.image))); } catch (NumberFormatException e) { {if (true) throw new SqlppParseException(getSourceLocation(token), "Could not parse numeric literal \u005c"" + LogRedactionUtil.userData(token.image) +'"');} jj_consume_token(DOUBLE_LITERAL); try { lit.setValue(new DoubleLiteral(Double.valueOf(token.image))); } catch (NumberFormatException e) { {if (true) throw new SqlppParseException(getSourceLocation(token), "Could not parse numeric literal \u005c"" + LogRedactionUtil.userData(token.image) +'"');} case MISSING: jj_consume_token(MISSING); lit.setValue(MissingLiteral.INSTANCE); break; case NULL: jj_consume_token(NULL);
ds.setValue( new StringLiteral(name) ); nameArg = ds; break;
ds.setValue( new StringLiteral(name) ); nameArg = ds; break;