in metacat-common-server/src/main/java/com/netflix/metacat/common/server/partition/parser/PartitionParser.java [57:216]
final public void expr() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LPAREN:{
jj_consume_token(LPAREN);
expr();
jj_consume_token(RPAREN);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case AND:
case OR:{
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case AND:{
jj_consume_token(AND);
ASTAND jjtn001 = new ASTAND(JJTAND);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
try {
expr();
} 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, 2);
}
}
break;
}
case OR:{
jj_consume_token(OR);
ASTOR jjtn002 = new ASTOR(JJTOR);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
try {
expr();
} 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, 2);
}
}
break;
}
default:
jj_la1[0] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
}
default:
jj_la1[1] = jj_gen;
;
}
break;
}
default:
jj_la1[4] = jj_gen;
if (jj_2_1(1)) {
EvalExpr();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case AND:
case OR:{
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case AND:{
jj_consume_token(AND);
ASTAND jjtn003 = new ASTAND(JJTAND);
boolean jjtc003 = true;
jjtree.openNodeScope(jjtn003);
try {
expr();
} 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, 2);
}
}
break;
}
case OR:{
jj_consume_token(OR);
ASTOR jjtn004 = new ASTOR(JJTOR);
boolean jjtc004 = true;
jjtree.openNodeScope(jjtn004);
try {
expr();
} catch (Throwable jjte004) {
if (jjtc004) {
jjtree.clearNodeScope(jjtn004);
jjtc004 = false;
} else {
jjtree.popNode();
}
if (jjte004 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte004;}
}
if (jjte004 instanceof ParseException) {
{if (true) throw (ParseException)jjte004;}
}
{if (true) throw (Error)jjte004;}
} finally {
if (jjtc004) {
jjtree.closeNodeScope(jjtn004, 2);
}
}
break;
}
default:
jj_la1[2] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
}
default:
jj_la1[3] = jj_gen;
;
}
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
}