boolean synPredMatched182 = false; if (((_tokenSet_9.member(LA(1))))) { int _m182 = mark(); synPredMatched182 = true;
boolean synPredMatched188 = false; if (((_tokenSet_8.member(LA(1))))) { int _m188 = mark(); synPredMatched188 = true;
	public final void forwardOrReverseStep() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST forwardOrReverseStep_AST = null;				boolean synPredMatched182 = false;		if (((_tokenSet_9.member(LA(1))))) {			int _m182 = mark();			synPredMatched182 = true;			inputState.guessing++;			try {				{				forwardAxisSpecifier();				match(COLON);				}			}			catch (RecognitionException pe) {				synPredMatched182 = false;			}			rewind(_m182);			inputState.guessing--;		}		if ( synPredMatched182 ) {			forwardAxis();			astFactory.addASTChild(currentAST, returnAST);			nodeTest();			astFactory.addASTChild(currentAST, returnAST);			forwardOrReverseStep_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else {			boolean synPredMatched184 = false;			if ((((LA(1) >= LITERAL_parent && LA(1) <= 150)))) {				int _m184 = mark();				synPredMatched184 = true;				inputState.guessing++;				try {					{					reverseAxisSpecifier();					match(COLON);					}				}				catch (RecognitionException pe) {					synPredMatched184 = false;				}				rewind(_m184);				inputState.guessing--;			}			if ( synPredMatched184 ) {				reverseAxis();				astFactory.addASTChild(currentAST, returnAST);				nodeTest();				astFactory.addASTChild(currentAST, returnAST);				forwardOrReverseStep_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else if ((_tokenSet_7.member(LA(1)))) {				abbrevStep();				astFactory.addASTChild(currentAST, returnAST);				forwardOrReverseStep_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else {				throw new NoViableAltException(LT(1), getFilename());			}			}			returnAST = forwardOrReverseStep_AST;		}