code: public final hqlParser.betweenList_return betweenList() throws RecognitionException {
  		hqlParser.betweenList_return retval = new hqlParser.betweenList_return();
  		retval.start = input.LT(1);
  
  		CommonTree root_0 = null;
  
  		Token AND182=null;
  		ParserRuleReturnScope concatenation181 =null;
  		ParserRuleReturnScope concatenation183 =null;
  
  		CommonTree AND182_tree=null;
  
  		try {
  			// hql.g:492:2: ( concatenation AND ! concatenation )
  			// hql.g:492:4: concatenation AND ! concatenation
  			{
  			root_0 = (CommonTree)adaptor.nil();
  
  
  			pushFollow(FOLLOW_concatenation_in_betweenList2265);
  			concatenation181=concatenation();
  			state._fsp--;
  
  			adaptor.addChild(root_0, concatenation181.getTree());
  
  			AND182=(Token)match(input,AND,FOLLOW_AND_in_betweenList2267);
  			pushFollow(FOLLOW_concatenation_in_betweenList2270);
  			concatenation183=concatenation();
  			state._fsp--;
  
  			adaptor.addChild(root_0, concatenation183.getTree());
  
  			}
  
  			retval.stop = input.LT(-1);
  
  			retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);
  			adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);
  
  		}
  		catch (RecognitionException re) {
  			reportError(re);
  			recover(input,re);
  			retval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);
  		}
  		finally {
  			// do for sure before leaving
  		}
  		return retval;
  	}
docs: hql.g:491:1: betweenList : concatenation AND ! concatenation ;