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

		CommonTree root_0 = null;

		Token KW_ROW572=null;
		Token KW_FORMAT573=null;
		Token KW_DELIMITED574=null;
		ParserRuleReturnScope tableRowFormatFieldIdentifier575 =null;
		ParserRuleReturnScope tableRowFormatCollItemsIdentifier576 =null;
		ParserRuleReturnScope tableRowFormatMapKeysIdentifier577 =null;
		ParserRuleReturnScope tableRowFormatLinesIdentifier578 =null;

		CommonTree KW_ROW572_tree=null;
		CommonTree KW_FORMAT573_tree=null;
		CommonTree KW_DELIMITED574_tree=null;
		RewriteRuleTokenStream stream_KW_DELIMITED=new RewriteRuleTokenStream(adaptor,"token KW_DELIMITED");
		RewriteRuleTokenStream stream_KW_ROW=new RewriteRuleTokenStream(adaptor,"token KW_ROW");
		RewriteRuleTokenStream stream_KW_FORMAT=new RewriteRuleTokenStream(adaptor,"token KW_FORMAT");
		RewriteRuleSubtreeStream stream_tableRowFormatMapKeysIdentifier=new RewriteRuleSubtreeStream(adaptor,"rule tableRowFormatMapKeysIdentifier");
		RewriteRuleSubtreeStream stream_tableRowFormatFieldIdentifier=new RewriteRuleSubtreeStream(adaptor,"rule tableRowFormatFieldIdentifier");
		RewriteRuleSubtreeStream stream_tableRowFormatCollItemsIdentifier=new RewriteRuleSubtreeStream(adaptor,"rule tableRowFormatCollItemsIdentifier");
		RewriteRuleSubtreeStream stream_tableRowFormatLinesIdentifier=new RewriteRuleSubtreeStream(adaptor,"rule tableRowFormatLinesIdentifier");

		 msgs.push("serde properties specification"); 
		try {
			// HiveParser.g:1526:5: ( KW_ROW KW_FORMAT KW_DELIMITED ( tableRowFormatFieldIdentifier )? ( tableRowFormatCollItemsIdentifier )? ( tableRowFormatMapKeysIdentifier )? ( tableRowFormatLinesIdentifier )? -> ^( TOK_SERDEPROPS ( tableRowFormatFieldIdentifier )? ( tableRowFormatCollItemsIdentifier )? ( tableRowFormatMapKeysIdentifier )? ( tableRowFormatLinesIdentifier )? ) )
			// HiveParser.g:1527:7: KW_ROW KW_FORMAT KW_DELIMITED ( tableRowFormatFieldIdentifier )? ( tableRowFormatCollItemsIdentifier )? ( tableRowFormatMapKeysIdentifier )? ( tableRowFormatLinesIdentifier )?
			{
			KW_ROW572=(Token)match(input,KW_ROW,FOLLOW_KW_ROW_in_rowFormatDelimited8873);  
			stream_KW_ROW.add(KW_ROW572);

			KW_FORMAT573=(Token)match(input,KW_FORMAT,FOLLOW_KW_FORMAT_in_rowFormatDelimited8875);  
			stream_KW_FORMAT.add(KW_FORMAT573);

			KW_DELIMITED574=(Token)match(input,KW_DELIMITED,FOLLOW_KW_DELIMITED_in_rowFormatDelimited8877);  
			stream_KW_DELIMITED.add(KW_DELIMITED574);

			// HiveParser.g:1527:37: ( tableRowFormatFieldIdentifier )?
			int alt158=2;
			int LA158_0 = input.LA(1);
			if ( (LA158_0==KW_FIELDS) ) {
				alt158=1;
			}
			switch (alt158) {
				case 1 :
					// HiveParser.g:1527:37: tableRowFormatFieldIdentifier
					{
					pushFollow(FOLLOW_tableRowFormatFieldIdentifier_in_rowFormatDelimited8879);
					tableRowFormatFieldIdentifier575=tableRowFormatFieldIdentifier();
					state._fsp--;

					stream_tableRowFormatFieldIdentifier.add(tableRowFormatFieldIdentifier575.getTree());
					}
					break;

			}

			// HiveParser.g:1527:68: ( tableRowFormatCollItemsIdentifier )?
			int alt159=2;
			int LA159_0 = input.LA(1);
			if ( (LA159_0==KW_COLLECTION) ) {
				alt159=1;
			}
			switch (alt159) {
				case 1 :
					// HiveParser.g:1527:68: tableRowFormatCollItemsIdentifier
					{
					pushFollow(FOLLOW_tableRowFormatCollItemsIdentifier_in_rowFormatDelimited8882);
					tableRowFormatCollItemsIdentifier576=tableRowFormatCollItemsIdentifier();
					state._fsp--;

					stream_tableRowFormatCollItemsIdentifier.add(tableRowFormatCollItemsIdentifier576.getTree());
					}
					break;

			}

			// HiveParser.g:1527:103: ( tableRowFormatMapKeysIdentifier )?
			int alt160=2;
			alt160 = dfa160.predict(input);
			switch (alt160) {
				case 1 :
					// HiveParser.g:1527:103: tableRowFormatMapKeysIdentifier
					{
					pushFollow(FOLLOW_tableRowFormatMapKeysIdentifier_in_rowFormatDelimited8885);
					tableRowFormatMapKeysIdentifier577=tableRowFormatMapKeysIdentifier();
					state._fsp--;

					stream_tableRowFormatMapKeysIdentifier.add(tableRowFormatMapKeysIdentifier577.getTree());
					}
					break;

			}

			// HiveParser.g:1527:136: ( tableRowFormatLinesIdentifier )?
			int alt161=2;
			int LA161_0 = input.LA(1);
			if ( (LA161_0==KW_LINES) ) {
				alt161=1;
			}
			switch (alt161) {
				case 1 :
					// HiveParser.g:1527:136: tableRowFormatLinesIdentifier
					{
					pushFollow(FOLLOW_tableRowFormatLinesIdentifier_in_rowFormatDelimited8888);
					tableRowFormatLinesIdentifier578=tableRowFormatLinesIdentifier();
					state._fsp--;

					stream_tableRowFormatLinesIdentifier.add(tableRowFormatLinesIdentifier578.getTree());
					}
					break;

			}

			// AST REWRITE
			// elements: tableRowFormatLinesIdentifier, tableRowFormatMapKeysIdentifier, tableRowFormatCollItemsIdentifier, tableRowFormatFieldIdentifier
			// 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();
			// 1528:5: -> ^( TOK_SERDEPROPS ( tableRowFormatFieldIdentifier )? ( tableRowFormatCollItemsIdentifier )? ( tableRowFormatMapKeysIdentifier )? ( tableRowFormatLinesIdentifier )? )
			{
				// HiveParser.g:1528:8: ^( TOK_SERDEPROPS ( tableRowFormatFieldIdentifier )? ( tableRowFormatCollItemsIdentifier )? ( tableRowFormatMapKeysIdentifier )? ( tableRowFormatLinesIdentifier )? )
				{
				CommonTree root_1 = (CommonTree)adaptor.nil();
				root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(TOK_SERDEPROPS, "TOK_SERDEPROPS"), root_1);
				// HiveParser.g:1528:25: ( tableRowFormatFieldIdentifier )?
				if ( stream_tableRowFormatFieldIdentifier.hasNext() ) {
					adaptor.addChild(root_1, stream_tableRowFormatFieldIdentifier.nextTree());
				}
				stream_tableRowFormatFieldIdentifier.reset();

				// HiveParser.g:1528:56: ( tableRowFormatCollItemsIdentifier )?
				if ( stream_tableRowFormatCollItemsIdentifier.hasNext() ) {
					adaptor.addChild(root_1, stream_tableRowFormatCollItemsIdentifier.nextTree());
				}
				stream_tableRowFormatCollItemsIdentifier.reset();

				// HiveParser.g:1528:91: ( tableRowFormatMapKeysIdentifier )?
				if ( stream_tableRowFormatMapKeysIdentifier.hasNext() ) {
					adaptor.addChild(root_1, stream_tableRowFormatMapKeysIdentifier.nextTree());
				}
				stream_tableRowFormatMapKeysIdentifier.reset();

				// HiveParser.g:1528:124: ( tableRowFormatLinesIdentifier )?
				if ( stream_tableRowFormatLinesIdentifier.hasNext() ) {
					adaptor.addChild(root_1, stream_tableRowFormatLinesIdentifier.nextTree());
				}
				stream_tableRowFormatLinesIdentifier.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;
	}