docs: public final BaseDescr instanceOfExpression() throws RecognitionException {
  		BaseDescr result = null;
  
  
  		BaseDescr left =null;
  		ParserRuleReturnScope op =null;
  		ParserRuleReturnScope right =null;
  
  		try {
  			// src/main/resources/org/drools/compiler/lang/DRL5Expressions.g:299:3: (left= inExpression (op= instanceof_key right= type )? )
  			// src/main/resources/org/drools/compiler/lang/DRL5Expressions.g:299:5: left= inExpression (op= instanceof_key right= type )?
  			{
  			pushFollow(FOLLOW_inExpression_in_instanceOfExpression1464);
  			left=inExpression();
  			state._fsp--;
  			if (state.failed) return result;
  			if ( state.backtracking==0 ) { if( buildDescr  ) { result = left; } }
  			// src/main/resources/org/drools/compiler/lang/DRL5Expressions.g:300:3: (op= instanceof_key right= type )?
  			int alt33=2;
  			int LA33_0 = input.LA(1);
  			if ( (LA33_0==ID) ) {
  				int LA33_1 = input.LA(2);
  				if ( (LA33_1==ID) && (((helper.validateIdentifierKey(DroolsSoftKeywords.INSTANCEOF))))) {
  					alt33=1;
  				}
  			}
  			switch (alt33) {
  				case 1 :
  					// src/main/resources/org/drools/compiler/lang/DRL5Expressions.g:300:5: op= instanceof_key right= type
  					{
  					pushFollow(FOLLOW_instanceof_key_in_instanceOfExpression1474);
  					op=instanceof_key();
  					state._fsp--;
  					if (state.failed) return result;
  					if ( state.backtracking==0 ) {  helper.setHasOperator( true );
  					       if( input.LA( 1 ) != DRL5Lexer.EOF ) helper.emit( Location.LOCATION_LHS_INSIDE_CONDITION_ARGUMENT ); }
  					pushFollow(FOLLOW_type_in_instanceOfExpression1488);
  					right=type();
  					state._fsp--;
  					if (state.failed) return result;
  					if ( state.backtracking==0 ) { if( buildDescr  ) {
  					               result = new RelationalExprDescr( (op!=null?input.toString(op.start,op.stop):null), false, null, left, new AtomicExprDescr((right!=null?input.toString(right.start,right.stop):null)) );
  					           }
  					         }
  					}
  					break;
  
  			}
  
  			}
  
  		}
  
  		catch (RecognitionException re) {
  		    throw re;
  		}
  
  		finally {
  			// do for sure before leaving
  		}
  		return result;
  	}