public final If_stmtContext if_stmt() throws RecognitionException {
		If_stmtContext _localctx = new If_stmtContext(_ctx, getState());
		enterRule(_localctx, 82, RULE_if_stmt);
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(399); match(15);
			scope_name="BLOCK "+Integer.toString(current_count); current_count=current_count+1; current_scope = NewScope(scope_name);PutLabel();
			setState(401); match(6);
			setState(402); cond1();
			setState(403); match(19);
			setState(404); decl();
			setState(405); stmt_list();
			setState(406); else_part();
			setState(407); match(12);
			EndScope();AddENDIF();
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}