public final Object upper() throws RecognitionException { Object node = null; Token u=null; Object n =null; node = null; try { // org/eclipse/persistence/internal/jpa/parsing/jpql/antlr/JPQL.g:1197:5: (u= UPPER LEFT_ROUND_BRACKET n= scalarExpression RIGHT_ROUND_BRACKET ) // org/eclipse/persistence/internal/jpa/parsing/jpql/antlr/JPQL.g:1197:7: u= UPPER LEFT_ROUND_BRACKET n= scalarExpression RIGHT_ROUND_BRACKET { u=(Token)match(input,UPPER,FOLLOW_UPPER_in_upper7269); if (state.failed) return node; match(input,LEFT_ROUND_BRACKET,FOLLOW_LEFT_ROUND_BRACKET_in_upper7271); if (state.failed) return node; pushFollow(FOLLOW_scalarExpression_in_upper7277); n=scalarExpression(); state._fsp--; if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_upper7279); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newUpper(u.getLine(), u.getCharPositionInLine(), n); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return node; } // $ANTLR end "upper"
public final Object upper() throws RecognitionException { Object node = null; Token u=null; Object n = null; node = null; try { // JPQL.g:1180:5: (u= UPPER LEFT_ROUND_BRACKET n= scalarExpression RIGHT_ROUND_BRACKET ) // JPQL.g:1180:7: u= UPPER LEFT_ROUND_BRACKET n= scalarExpression RIGHT_ROUND_BRACKET { u=(Token)match(input,UPPER,FOLLOW_UPPER_in_upper7409); if (state.failed) return node; match(input,LEFT_ROUND_BRACKET,FOLLOW_LEFT_ROUND_BRACKET_in_upper7411); if (state.failed) return node; pushFollow(FOLLOW_scalarExpression_in_upper7417); n=scalarExpression(); state._fsp--; if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_upper7419); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newUpper(u.getLine(), u.getCharPositionInLine(), n); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return node; } // $ANTLR end "upper"
match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_upper7383); if (failed) return node; if ( backtracking==0 ) { node = factory.newUpper(u.getLine(), u.getCharPositionInLine(), n);