case JavaTokenTypes.LITERAL_double:
builtInType();
break;
default:
throw new NoViableAltException(LT(1));
}
switch (la_1)
{
case JavaTokenTypes.LPAREN:
match(JavaTokenTypes.LPAREN);
switch (la_1)
{
default:
throw new NoViableAltException(LT(1));
case JavaTokenTypes.LITERAL_void:
case JavaTokenTypes.LITERAL_boolean:
case JavaTokenTypes.LITERAL_byte:
case JavaTokenTypes.LITERAL_char:
case JavaTokenTypes.LITERAL_short:
case JavaTokenTypes.LITERAL_int:
case JavaTokenTypes.LITERAL_float:
case JavaTokenTypes.LITERAL_long:
case JavaTokenTypes.LITERAL_double:
case JavaTokenTypes.IDENT:
case JavaTokenTypes.DOT:
case JavaTokenTypes.LPAREN:
case JavaTokenTypes.PLUS:
case JavaTokenTypes.MINUS:
case JavaTokenTypes.INC:
case JavaTokenTypes.DEC:
case JavaTokenTypes.BNOT:
case JavaTokenTypes.LNOT:
case JavaTokenTypes.LITERAL_this:
case JavaTokenTypes.LITERAL_super:
case JavaTokenTypes.LITERAL_true:
case JavaTokenTypes.LITERAL_false:
case JavaTokenTypes.LITERAL_null:
case JavaTokenTypes.LITERAL_new:
case JavaTokenTypes.NUM_INT:
case JavaTokenTypes.CHAR_LITERAL:
case JavaTokenTypes.STRING_LITERAL:
case JavaTokenTypes.NUM_FLOAT:
expressionList();
// fall through
case JavaTokenTypes.RPAREN: // '+'
match(JavaTokenTypes.RPAREN);
break;
}
if (la_1 == JavaTokenTypes.LCURLY)
{
cl = anonymousClassDefinition(outer_scope.getName() + ".", (ExtendedToken) t);
if (guessing == 0)
{
cl.setIsLocal();
outer_scope.addElement(cl);
cl.setParent(outer_scope);
}
}
break;
case JavaTokenTypes.LBRACK:
int _cnt = 0;
do
{
if (la_1 == JavaTokenTypes.LBRACK && TOKEN_SET_56.member(la_2))
{
match(JavaTokenTypes.LBRACK);
if (TOKEN_SET_36.member(la_1))
{
expression();
}
match(JavaTokenTypes.RBRACK);
}
else
{
if (_cnt < 1)
{
throw new NoViableAltException(LT(1));
}
break;
}
_cnt++;
}
while (true);
if (la_1 == JavaTokenTypes.LCURLY)
{
arrayInitializer();
}
break;
default:
throw new NoViableAltException(LT(1));
}
}
catch (ParserException ex)
{
if (guessing == 0)