boolean synPredMatched90 = false;
boolean synPredMatched91 = false;
	public final void exprSingle() throws RecognitionException, TokenStreamException, XPathException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST exprSingle_AST = null;				boolean synPredMatched87 = false;		if (((LA(1)==LITERAL_for||LA(1)==LITERAL_let))) {			int _m87 = mark();			synPredMatched87 = 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) {				synPredMatched87 = false;			}			rewind(_m87);			inputState.guessing--;		}		if ( synPredMatched87 ) {			flworExpr();			astFactory.addASTChild(currentAST, returnAST);			exprSingle_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		}		else {			boolean synPredMatched90 = false;			if (((LA(1)==LITERAL_some||LA(1)==LITERAL_every))) {				int _m90 = mark();				synPredMatched90 = 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) {					synPredMatched90 = false;				}				rewind(_m90);				inputState.guessing--;			}			if ( synPredMatched90 ) {				quantifiedExpr();				astFactory.addASTChild(currentAST, returnAST);				exprSingle_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;			}			else {				boolean synPredMatched92 = false;				if (((LA(1)==LITERAL_if))) {					int _m92 = mark();					synPredMatched92 = true;					inputState.guessing++;					try {						{						match(LITERAL_if);						match(LPAREN);						}					}					catch (RecognitionException pe) {						synPredMatched92 = false;					}					rewind(_m92);					inputState.guessing--;				}				if ( synPredMatched92 ) {					ifExpr();					astFactory.addASTChild(currentAST, returnAST);					exprSingle_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;				}				else if ((_tokenSet_0.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;			}