org.exist.xquery.parser.XQueryAST tmp170_AST = null; tmp170_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp170_AST);
org.exist.xquery.parser.XQueryAST tmp172_AST = null; tmp172_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp172_AST);
	public final void ifExpr() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		org.exist.xquery.parser.XQueryAST ifExpr_AST = null;				org.exist.xquery.parser.XQueryAST tmp170_AST = null;		tmp170_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1));		astFactory.makeASTRoot(currentAST, tmp170_AST);		match(LITERAL_if);		match(LPAREN);		expr();		astFactory.addASTChild(currentAST, returnAST);		match(RPAREN);		match(LITERAL_then);		exprSingle();		astFactory.addASTChild(currentAST, returnAST);		match(LITERAL_else);		exprSingle();		astFactory.addASTChild(currentAST, returnAST);		ifExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root;		returnAST = ifExpr_AST;	}