if ( state.backtracking==0 ) { node = factory.newAscOrdering(a.getLine(), a.getCharPositionInLine(), n); } if ( state.backtracking==0 ) { node = factory.newDescOrdering(d.getLine(), d.getCharPositionInLine(), n); } if ( state.backtracking==0 ) { node = factory.newAscOrdering(0, 0, n); }
node = factory.newAttribute(i.getLine(), i.getCharPositionInLine(), i.getText());
if ( state.backtracking==0 ) { node = factory.newBooleanLiteral(t.getLine(), t.getCharPositionInLine(), Boolean.TRUE); } if ( state.backtracking==0 ) { node = factory.newBooleanLiteral(f.getLine(), f.getCharPositionInLine(), Boolean.FALSE); }
if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression1946); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newAvg(t1.getLine(), t1.getCharPositionInLine(), aggregateExpression_stack.peek().distinct, n); } if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression1991); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newMax(t2.getLine(), t2.getCharPositionInLine(), aggregateExpression_stack.peek().distinct, n); } if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression2036); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newMin(t3.getLine(), t3.getCharPositionInLine(), aggregateExpression_stack.peek().distinct, n); } if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression2081); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newSum(t4.getLine(), t4.getCharPositionInLine(), aggregateExpression_stack.peek().distinct, n); } if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression2126); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newCount(t5.getLine(), t5.getCharPositionInLine(), aggregateExpression_stack.peek().distinct, n); }
match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_anyOrAllExpression5427); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newAll(a.getLine(), a.getCharPositionInLine(), n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_anyOrAllExpression5457); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newAny(y.getLine(), y.getCharPositionInLine(), n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_anyOrAllExpression5487); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newSome(s.getLine(), s.getCharPositionInLine(), n);
if ( state.backtracking==0 ) { node = factory.newCaseClause(a.getLine(), a.getCharPositionInLine(), null, ((generalCaseExpression_scope)generalCaseExpression_stack.peek()).whens, e);
public final Object abs() throws RecognitionException { Object node = null; Token a=null; Object n =null; node = null; try { // org/eclipse/persistence/internal/jpa/parsing/jpql/antlr/JPQL.g:1210:5: (a= ABS LEFT_ROUND_BRACKET n= simpleArithmeticExpression RIGHT_ROUND_BRACKET ) // org/eclipse/persistence/internal/jpa/parsing/jpql/antlr/JPQL.g:1210:7: a= ABS LEFT_ROUND_BRACKET n= simpleArithmeticExpression RIGHT_ROUND_BRACKET { a=(Token)match(input,ABS,FOLLOW_ABS_in_abs7366); if (state.failed) return node; match(input,LEFT_ROUND_BRACKET,FOLLOW_LEFT_ROUND_BRACKET_in_abs7368); if (state.failed) return node; pushFollow(FOLLOW_simpleArithmeticExpression_in_abs7374); n=simpleArithmeticExpression(); state._fsp--; if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_abs7376); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newAbs(a.getLine(), a.getCharPositionInLine(), n); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return node; } // $ANTLR end "abs"
if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newBetween(t.getLine(), t.getCharPositionInLine(), not, left, lowerBound, upperBound);
state._fsp--; if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newAnd(t.getLine(), t.getCharPositionInLine(), node, right); }
match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression1996); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newAvg(t1.getLine(), t1.getCharPositionInLine(), ((aggregateExpression_scope)aggregateExpression_stack.peek()).distinct, n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression2043); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newMax(t2.getLine(), t2.getCharPositionInLine(), ((aggregateExpression_scope)aggregateExpression_stack.peek()).distinct, n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression2088); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newMin(t3.getLine(), t3.getCharPositionInLine(), ((aggregateExpression_scope)aggregateExpression_stack.peek()).distinct, n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression2133); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newSum(t4.getLine(), t4.getCharPositionInLine(), ((aggregateExpression_scope)aggregateExpression_stack.peek()).distinct, n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression2178); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newCount(t5.getLine(), t5.getCharPositionInLine(), ((aggregateExpression_scope)aggregateExpression_stack.peek()).distinct, n);
if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_anyOrAllExpression5341); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newAll(a.getLine(), a.getCharPositionInLine(), n); } if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_anyOrAllExpression5371); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newAny(y.getLine(), y.getCharPositionInLine(), n); } if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_anyOrAllExpression5401); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newSome(s.getLine(), s.getCharPositionInLine(), n); }
match(input,END,FOLLOW_END_in_generalCaseExpression5720); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newCaseClause(a.getLine(), a.getCharPositionInLine(), null, generalCaseExpression_stack.peek().whens, e);
public final Object abs() throws RecognitionException { Object node = null; Token a=null; Object n = null; node = null; try { // JPQL.g:1193:5: (a= ABS LEFT_ROUND_BRACKET n= simpleArithmeticExpression RIGHT_ROUND_BRACKET ) // JPQL.g:1193:7: a= ABS LEFT_ROUND_BRACKET n= simpleArithmeticExpression RIGHT_ROUND_BRACKET { a=(Token)match(input,ABS,FOLLOW_ABS_in_abs7506); if (state.failed) return node; match(input,LEFT_ROUND_BRACKET,FOLLOW_LEFT_ROUND_BRACKET_in_abs7508); if (state.failed) return node; pushFollow(FOLLOW_simpleArithmeticExpression_in_abs7514); n=simpleArithmeticExpression(); state._fsp--; if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_abs7516); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newAbs(a.getLine(), a.getCharPositionInLine(), n); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return node; } // $ANTLR end "abs"
if ( state.backtracking==0 ) { node = factory.newBetween(t.getLine(), t.getCharPositionInLine(), not, left, lowerBound, upperBound);
if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newAnd(t.getLine(), t.getCharPositionInLine(), node, right);
match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression1967); if (failed) return node; if ( backtracking==0 ) { node = factory.newAvg(t1.getLine(), t1.getCharPositionInLine(), ((aggregateExpression_scope)aggregateExpression_stack.peek()).distinct, n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression2014); if (failed) return node; if ( backtracking==0 ) { node = factory.newMax(t2.getLine(), t2.getCharPositionInLine(), ((aggregateExpression_scope)aggregateExpression_stack.peek()).distinct, n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression2059); if (failed) return node; if ( backtracking==0 ) { node = factory.newMin(t3.getLine(), t3.getCharPositionInLine(), ((aggregateExpression_scope)aggregateExpression_stack.peek()).distinct, n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression2104); if (failed) return node; if ( backtracking==0 ) { node = factory.newSum(t4.getLine(), t4.getCharPositionInLine(), ((aggregateExpression_scope)aggregateExpression_stack.peek()).distinct, n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_aggregateExpression2149); if (failed) return node; if ( backtracking==0 ) { node = factory.newCount(t5.getLine(), t5.getCharPositionInLine(), ((aggregateExpression_scope)aggregateExpression_stack.peek()).distinct, n);
match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_anyOrAllExpression5410); if (failed) return node; if ( backtracking==0 ) { node = factory.newAll(a.getLine(), a.getCharPositionInLine(), n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_anyOrAllExpression5440); if (failed) return node; if ( backtracking==0 ) { node = factory.newAny(y.getLine(), y.getCharPositionInLine(), n); match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_anyOrAllExpression5470); if (failed) return node; if ( backtracking==0 ) { node = factory.newSome(s.getLine(), s.getCharPositionInLine(), n);
node = factory.newAscOrdering(a.getLine(), a.getCharPositionInLine(), n); node = factory.newDescOrdering(d.getLine(), d.getCharPositionInLine(), n); node = factory.newAscOrdering(0, 0, n);
if ( backtracking==0 ) { node = factory.newCaseClause(a.getLine(), a.getCharPositionInLine(), null, ((generalCaseExpression_scope)generalCaseExpression_stack.peek()).whens, e);
public final Object attribute() throws RecognitionException { Object node = null; Token i=null; node = null; try { // org/eclipse/persistence/internal/jpa/parsing/jpql/antlr/JPQL.g:608:5: (i= . ) // org/eclipse/persistence/internal/jpa/parsing/jpql/antlr/JPQL.g:608:7: i= . { i=input.LT(1); matchAny(input); if (state.failed) return node; if ( state.backtracking==0 ) { validateAttributeName(i); node = factory.newAttribute(i.getLine(), i.getCharPositionInLine(), i.getText()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return node; } // $ANTLR end "attribute"