rewind(_m66);
rewind(_m69);
	public final void exprSingle() throws RecognitionException, TokenStreamException {				traceIn("exprSingle");		try { // debugging			returnAST = null;			ASTPair currentAST = new ASTPair();			org.exist.xquery.parser.XQueryAST exprSingle_AST = null;						boolean synPredMatched66 = false;			if (((LA(1)==LITERAL_for||LA(1)==LITERAL_let))) {				int _m66 = mark();				synPredMatched66 = true;				inputState.guessing++;				try {					{					{					switch ( LA(1)) {					case LITERAL_for:					{						match(LITERAL_for);						break;					}					case LITERAL_let:					{						match(LITERAL_let);						break;					}					default:					{						throw new NoViableAltException(LT(1), getFilename());					}					}					}					match(DOLLAR);					}				}				catch (RecognitionException pe) {					synPredMatched66 = false;				}				rewind(_m66);				inputState.guessing--;			}			if ( synPredMatched66 ) {				flworExpr();				astFactory.addASTChild(currentAST, returnAST);				exprSingle_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else {				boolean synPredMatched69 = false;				if (((LA(1)==LITERAL_some||LA(1)==LITERAL_every))) {					int _m69 = mark();					synPredMatched69 = true;					inputState.guessing++;					try {						{						{						switch ( LA(1)) {						case LITERAL_some:						{							match(LITERAL_some);							break;						}						case LITERAL_every:						{							match(LITERAL_every);							break;						}						default:						{							throw new NoViableAltException(LT(1), getFilename());						}						}						}						match(DOLLAR);						}					}					catch (RecognitionException pe) {						synPredMatched69 = false;					}					rewind(_m69);					inputState.guessing--;				}				if ( synPredMatched69 ) {					quantifiedExpr();					astFactory.addASTChild(currentAST, returnAST);					exprSingle_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;				}				else {					boolean synPredMatched71 = false;					if (((LA(1)==LITERAL_if))) {						int _m71 = mark();						synPredMatched71 = true;						inputState.guessing++;						try {							{							match(LITERAL_if);							match(LPAREN);							}						}						catch (RecognitionException pe) {							synPredMatched71 = false;						}						rewind(_m71);						inputState.guessing--;					}					if ( synPredMatched71 ) {						ifExpr();						astFactory.addASTChild(currentAST, returnAST);						exprSingle_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;					}					else if ((_tokenSet_5.member(LA(1)))) {						orExpr();						astFactory.addASTChild(currentAST, returnAST);						exprSingle_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;					}					else {						throw new NoViableAltException(LT(1), getFilename());					}					}}					returnAST = exprSingle_AST;				} finally { // debugging					traceOut("exprSingle");				}			}