public final Object index() throws RecognitionException { Object node = null; Token s=null; Object n =null; node = null; try { // org/eclipse/persistence/internal/jpa/parsing/jpql/antlr/JPQL.g:1262:5: (s= INDEX LEFT_ROUND_BRACKET n= variableAccessOrTypeConstant RIGHT_ROUND_BRACKET ) // org/eclipse/persistence/internal/jpa/parsing/jpql/antlr/JPQL.g:1262:7: s= INDEX LEFT_ROUND_BRACKET n= variableAccessOrTypeConstant RIGHT_ROUND_BRACKET { s=(Token)match(input,INDEX,FOLLOW_INDEX_in_index7755); if (state.failed) return node; match(input,LEFT_ROUND_BRACKET,FOLLOW_LEFT_ROUND_BRACKET_in_index7757); if (state.failed) return node; pushFollow(FOLLOW_variableAccessOrTypeConstant_in_index7763); n=variableAccessOrTypeConstant(); state._fsp--; if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_index7765); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newIndex(s.getLine(), s.getCharPositionInLine(), n); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return node; } // $ANTLR end "index"
public final Object index() throws RecognitionException { Object node = null; Token s=null; Object n = null; node = null; try { // JPQL.g:1245:5: (s= INDEX LEFT_ROUND_BRACKET n= variableAccessOrTypeConstant RIGHT_ROUND_BRACKET ) // JPQL.g:1245:7: s= INDEX LEFT_ROUND_BRACKET n= variableAccessOrTypeConstant RIGHT_ROUND_BRACKET { s=(Token)match(input,INDEX,FOLLOW_INDEX_in_index7903); if (state.failed) return node; match(input,LEFT_ROUND_BRACKET,FOLLOW_LEFT_ROUND_BRACKET_in_index7905); if (state.failed) return node; pushFollow(FOLLOW_variableAccessOrTypeConstant_in_index7911); n=variableAccessOrTypeConstant(); state._fsp--; if (state.failed) return node; match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_index7913); if (state.failed) return node; if ( state.backtracking==0 ) { node = factory.newIndex(s.getLine(), s.getCharPositionInLine(), n); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return node; } // $ANTLR end "index"
match(input,RIGHT_ROUND_BRACKET,FOLLOW_RIGHT_ROUND_BRACKET_in_index7877); if (failed) return node; if ( backtracking==0 ) { node = factory.newIndex(s.getLine(), s.getCharPositionInLine(), n);