in netflix-sel/src/main/java/com/netflix/sel/ast/SelParser.java [242:318]
public final void ArrayInitializer() throws ParseException {
/*@bgen(jjtree) ArrayInitializer */
ASTArrayInitializer jjtn000 = new ASTArrayInitializer(this, JJTARRAYINITIALIZER);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtn000.jjtSetFirstToken(getToken(1));
try {
jj_consume_token(LBRACE);
switch (jj_nt.kind) {
case FALSE:
case NEW:
case NULL:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case BANG:
case PLUS:
case MINUS:
{
VariableInitializer();
label_4:
while (true) {
if (jj_2_2(2)) {
;
} else {
break label_4;
}
jj_consume_token(COMMA);
VariableInitializer();
}
break;
}
default:
jj_la1[5] = jj_gen;
;
}
switch (jj_nt.kind) {
case COMMA:
{
jj_consume_token(COMMA);
break;
}
default:
jj_la1[6] = jj_gen;
;
}
jj_consume_token(RBRACE);
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{
if (true) throw (RuntimeException) jjte000;
}
}
if (jjte000 instanceof ParseException) {
{
if (true) throw (ParseException) jjte000;
}
}
{
if (true) throw (Error) jjte000;
}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtn000.jjtSetLastToken(getToken(0));
}
}
}