in maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/JSParser20.java [324:402]
final public void PrimaryExpression() throws ParseException {
/*@bgen(jjtree) PrimaryExpression */
ASTPrimaryExpression jjtn000 = new ASTPrimaryExpression(this, JJTPRIMARYEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case NULL:
jj_consume_token(NULL);
break;
case TRUE:
jj_consume_token(TRUE);
break;
case FALSE:
jj_consume_token(FALSE);
break;
case DECIMAL_LITERAL:
jj_consume_token(DECIMAL_LITERAL);
break;
case OCTAL_LITERAL:
jj_consume_token(OCTAL_LITERAL);
break;
case HEX_LITERAL:
jj_consume_token(HEX_LITERAL);
break;
case FLOATING_POINT_LITERAL:
jj_consume_token(FLOATING_POINT_LITERAL);
break;
case STRING_LITERAL:
jj_consume_token(STRING_LITERAL);
break;
case THIS:
jj_consume_token(THIS);
break;
case REGULAR_EXPRESSION:
jj_consume_token(REGULAR_EXPRESSION);
break;
case LPAREN:
jj_consume_token(LPAREN);
ListExpression();
jj_consume_token(RPAREN);
break;
case LBRACKET:
ArrayLiteral();
break;
case LBRACE:
ObjectLiteral();
break;
case FUNCTION:
FunctionExpression();
break;
default:
jj_la1[7] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
token_source.setRegValid();
} 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);
}
}
}