public final HiveParser.dropViewStatement_return dropViewStatement() throws RecognitionException {
		HiveParser.dropViewStatement_return retval = new HiveParser.dropViewStatement_return();
		retval.start = input.LT(1);

		CommonTree root_0 = null;

		Token KW_DROP531=null;
		Token KW_VIEW532=null;
		ParserRuleReturnScope ifExists533 =null;
		ParserRuleReturnScope viewName534 =null;

		CommonTree KW_DROP531_tree=null;
		CommonTree KW_VIEW532_tree=null;
		RewriteRuleTokenStream stream_KW_DROP=new RewriteRuleTokenStream(adaptor,"token KW_DROP");
		RewriteRuleTokenStream stream_KW_VIEW=new RewriteRuleTokenStream(adaptor,"token KW_VIEW");
		RewriteRuleSubtreeStream stream_viewName=new RewriteRuleSubtreeStream(adaptor,"rule viewName");
		RewriteRuleSubtreeStream stream_ifExists=new RewriteRuleSubtreeStream(adaptor,"rule ifExists");

		 msgs.push("drop view statement"); 
		try {
			// HiveParser.g:1454:5: ( KW_DROP KW_VIEW ( ifExists )? viewName -> ^( TOK_DROPVIEW viewName ( ifExists )? ) )
			// HiveParser.g:1454:7: KW_DROP KW_VIEW ( ifExists )? viewName
			{
			KW_DROP531=(Token)match(input,KW_DROP,FOLLOW_KW_DROP_in_dropViewStatement8299);  
			stream_KW_DROP.add(KW_DROP531);

			KW_VIEW532=(Token)match(input,KW_VIEW,FOLLOW_KW_VIEW_in_dropViewStatement8301);  
			stream_KW_VIEW.add(KW_VIEW532);

			// HiveParser.g:1454:23: ( ifExists )?
			int alt150=2;
			int LA150_0 = input.LA(1);
			if ( (LA150_0==KW_IF) ) {
				alt150=1;
			}
			switch (alt150) {
				case 1 :
					// HiveParser.g:1454:23: ifExists
					{
					pushFollow(FOLLOW_ifExists_in_dropViewStatement8303);
					ifExists533=ifExists();
					state._fsp--;

					stream_ifExists.add(ifExists533.getTree());
					}
					break;

			}

			pushFollow(FOLLOW_viewName_in_dropViewStatement8306);
			viewName534=viewName();
			state._fsp--;

			stream_viewName.add(viewName534.getTree());
			// AST REWRITE
			// elements: viewName, ifExists
			// token labels: 
			// rule labels: retval
			// token list labels: 
			// rule list labels: 
			// wildcard labels: 
			retval.tree = root_0;
			RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"rule retval",retval!=null?retval.getTree():null);

			root_0 = (CommonTree)adaptor.nil();
			// 1454:42: -> ^( TOK_DROPVIEW viewName ( ifExists )? )
			{
				// HiveParser.g:1454:45: ^( TOK_DROPVIEW viewName ( ifExists )? )
				{
				CommonTree root_1 = (CommonTree)adaptor.nil();
				root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(TOK_DROPVIEW, "TOK_DROPVIEW"), root_1);
				adaptor.addChild(root_1, stream_viewName.nextTree());
				// HiveParser.g:1454:69: ( ifExists )?
				if ( stream_ifExists.hasNext() ) {
					adaptor.addChild(root_1, stream_ifExists.nextTree());
				}
				stream_ifExists.reset();

				adaptor.addChild(root_0, root_1);
				}

			}


			retval.tree = root_0;

			}

			retval.stop = input.LT(-1);

			retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);
			adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);

			 msgs.pop(); 
		}

		catch (RecognitionException e) {
		 reportError(e);
		  throw e;
		}

		finally {
			// do for sure before leaving
		}
		return retval;
	}