in cayenne/src/main/java/org/apache/cayenne/exp/parser/ExpressionParser.java [126:282]
final public void notCondition() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case NOT_EXISTS:{
jj_consume_token(NOT_EXISTS);
ASTNotExists jjtn001 = new ASTNotExists(JJTNOTEXISTS);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
try {
simpleCondition();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, 1);
}
}
break;
}
case EXISTS:{
jj_consume_token(EXISTS);
ASTExists jjtn002 = new ASTExists(JJTEXISTS);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
try {
simpleCondition();
} catch (Throwable jjte002) {
if (jjtc002) {
jjtree.clearNodeScope(jjtn002);
jjtc002 = false;
} else {
jjtree.popNode();
}
if (jjte002 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte002;}
}
if (jjte002 instanceof ParseException) {
{if (true) throw (ParseException)jjte002;}
}
{if (true) throw (Error)jjte002;}
} finally {
if (jjtc002) {
jjtree.closeNodeScope(jjtn002, 1);
}
}
break;
}
case 3:
case 4:{
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case 3:{
jj_consume_token(3);
break;
}
case 4:{
jj_consume_token(4);
break;
}
default:
jj_la1[2] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
ASTNot jjtn003 = new ASTNot(JJTNOT);
boolean jjtc003 = true;
jjtree.openNodeScope(jjtn003);
try {
simpleCondition();
} catch (Throwable jjte003) {
if (jjtc003) {
jjtree.clearNodeScope(jjtn003);
jjtc003 = false;
} else {
jjtree.popNode();
}
if (jjte003 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte003;}
}
if (jjte003 instanceof ParseException) {
{if (true) throw (ParseException)jjte003;}
}
{if (true) throw (Error)jjte003;}
} finally {
if (jjtc003) {
jjtree.closeNodeScope(jjtn003, 1);
}
}
break;
}
case 16:
case 25:
case 26:
case 28:
case NULL:
case TRUE:
case FALSE:
case AVG:
case MIN:
case MAX:
case SUM:
case COUNT:
case CONCAT:
case SUBSTRING:
case TRIM:
case LOWER:
case UPPER:
case LENGTH:
case LOCATE:
case ABS:
case SQRT:
case MOD:
case CURRENT_DATE:
case CURRENT_TIME:
case CURRENT_TIMESTAMP:
case YEAR:
case MONTH:
case WEEK:
case DAY_OF_YEAR:
case DAY:
case DAY_OF_MONTH:
case DAY_OF_WEEK:
case HOUR:
case MINUTE:
case SECOND:
case FUNCTION:
case OPERATOR:
case AGGREGATE:
case 70:
case 71:
case 72:
case 73:
case 74:
case PROPERTY_PATH:
case SINGLE_QUOTED_STRING:
case DOUBLE_QUOTED_STRING:
case INT_LITERAL:
case FLOAT_LITERAL:{
simpleCondition();
break;
}
default:
jj_la1[3] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}