public final Pl_sqlContext pl_sql() throws RecognitionException {
		Pl_sqlContext _localctx = new Pl_sqlContext(_ctx, getState());
		enterRule(_localctx, 38, RULE_pl_sql);
		int _la;
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(310);
			_la = _input.LA(1);
			if (_la==OR) {
				{
				setState(308); match(OR);
				setState(309); match(REPLACE);
				}
			}

			setState(312);
			_la = _input.LA(1);
			if ( !(_la==FUNCTION || _la==PROCEDURE) ) {
			_errHandler.recoverInline(this);
			}
			consume();
			setState(313); ident();
			setState(314); consume_until_end();
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}