IDENTIFIER286=(Token)match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_enumValueDecl4770); if (state.failed) return retval;
if ( state.backtracking==0 ) {
IDENTIFIER286_tree =
new Declaration(IDENTIFIER286)
;
root_0 = (Object)adaptor.becomeRoot(IDENTIFIER286_tree, root_0);
}
LPAREN287=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_enumValueDecl4776); if (state.failed) return retval;
// Haxe.g:383:52: ( paramList )?
int alt83=2;
int LA83_0 = input.LA(1);
if ( (LA83_0==IDENTIFIER||LA83_0==QUES) ) {
alt83=1;
}
switch (alt83) {
case 1 :
// Haxe.g:383:52: paramList
{
pushFollow(FOLLOW_paramList_in_enumValueDecl4779);
paramList288=paramList();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) adaptor.addChild(root_0, paramList288.getTree());
}
break;
}
RPAREN289=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_enumValueDecl4782); if (state.failed) return retval;
SEMI290=(Token)match(input,SEMI,FOLLOW_SEMI_in_enumValueDecl4785); if (state.failed) return retval;
}
break;
case 2 :
// Haxe.g:384:19: IDENTIFIER SEMI !
{
root_0 = (Object)adaptor.nil();
IDENTIFIER291=(Token)match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_enumValueDecl4808); if (state.failed) return retval;
if ( state.backtracking==0 ) {
IDENTIFIER291_tree =
new Declaration(IDENTIFIER291)
;
adaptor.addChild(root_0, IDENTIFIER291_tree);
}
SEMI292=(Token)match(input,SEMI,FOLLOW_SEMI_in_enumValueDecl4813); if (state.failed) return retval;