/** * Parses a literal expression, allowing continued string literals. * Usually returns an SqlLiteral, but a continued string literal * is an SqlCall expression, which concatenates 2 or more string * literals; the validator reduces this. */ final public SqlNode Literal() throws ParseException { SqlNode e; if (jj_2_256(2)) { e = NumericLiteral(); } else if (jj_2_257(2)) { e = StringLiteral(); } else if (jj_2_258(2)) { e = SpecialLiteral(); } else if (jj_2_259(2)) { e = DateTimeLiteral(); } else if (jj_2_260(2)) { e = IntervalLiteral(); } else { jj_consume_token(-1); throw new ParseException(); } {if (true) return e;} throw new Error("Missing return statement in function"); }
/** * Parses a literal expression, allowing continued string literals. * Usually returns an SqlLiteral, but a continued string literal * is an SqlCall expression, which concatenates 2 or more string * literals; the validator reduces this. */ final public SqlNode Literal() throws ParseException { SqlNode e; if (jj_2_256(2)) { e = NumericLiteral(); } else if (jj_2_257(2)) { e = StringLiteral(); } else if (jj_2_258(2)) { e = SpecialLiteral(); } else if (jj_2_259(2)) { e = DateTimeLiteral(); } else if (jj_2_260(2)) { e = IntervalLiteral(); } else { jj_consume_token(-1); throw new ParseException(); } {if (true) return e;} throw new Error("Missing return statement in function"); }