state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
descr = ConstraintConnectiveDescr.newAnd();
RelationalExprDescr rel = new RelationalExprDescr( "!=", false, null, left, (e1!=null?e1.result:null) );
descr.addOrMerge( rel );
result = descr;
}
// /home/etirelli/workspace/jboss/drools/core/drools-compiler/src/main/resources/org/drools/lang/DRLExpressions.g:242:7: ( COMMA e2= expression )*
loop27:
do {
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0==COMMA) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// /home/etirelli/workspace/jboss/drools/core/drools-compiler/src/main/resources/org/drools/lang/DRLExpressions.g:242:8: COMMA e2= expression
{
match(input,COMMA,FOLLOW_COMMA_in_inExpression1274); if (state.failed) return result;
pushFollow(FOLLOW_expression_in_inExpression1278);
e2=expression();
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
RelationalExprDescr rel = new RelationalExprDescr( "!=", false, null, left, (e2!=null?e2.result:null) );
descr.addOrMerge( rel );
}
}
break;
default :
break loop27;
}
} while (true);
match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_inExpression1299); if (state.failed) return result;
}
break;
case 2 :
// /home/etirelli/workspace/jboss/drools/core/drools-compiler/src/main/resources/org/drools/lang/DRLExpressions.g:247:7: in= in_key LEFT_PAREN e1= expression ( COMMA e2= expression )* RIGHT_PAREN
{
pushFollow(FOLLOW_in_key_in_inExpression1309);
in_key();
state._fsp--;
if (state.failed) return result;
match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_inExpression1311); if (state.failed) return result;
pushFollow(FOLLOW_expression_in_inExpression1315);
e1=expression();
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
descr = ConstraintConnectiveDescr.newOr();
RelationalExprDescr rel = new RelationalExprDescr( "==", false, null, left, (e1!=null?e1.result:null) );
descr.addOrMerge( rel );
result = descr;
}
// /home/etirelli/workspace/jboss/drools/core/drools-compiler/src/main/resources/org/drools/lang/DRLExpressions.g:253:7: ( COMMA e2= expression )*
loop28:
do {
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==COMMA) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// /home/etirelli/workspace/jboss/drools/core/drools-compiler/src/main/resources/org/drools/lang/DRLExpressions.g:253:8: COMMA e2= expression
{
match(input,COMMA,FOLLOW_COMMA_in_inExpression1335); if (state.failed) return result;
pushFollow(FOLLOW_expression_in_inExpression1339);
e2=expression();
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
RelationalExprDescr rel = new RelationalExprDescr( "==", false, null, left, (e2!=null?e2.result:null) );
descr.addOrMerge( rel );
}
}