protected void property_header()
{
try { // for error handling
{
{
switch ( LA(1) )
{
case ID:
{
match(ID);
break;
}
case SELF:
{
match(SELF);
break;
}
case SPLICE_BEGIN:
{
{
match(SPLICE_BEGIN);
atom();
}
break;
}
default:
{
throw new NoViableAltException(LT(1), getFilename());
}
}
}
{ // ( ... )*
for (;;)
{
if ((LA(1)==DOT))
{
match(DOT);
match(ID);
}
else
{
goto _loop145_breakloop;
}
}
_loop145_breakloop: ;
} // ( ... )*
}
{
switch ( LA(1) )
{
case LBRACK:
{
match(LBRACK);
break;
}
case AS:
case LPAREN:
case COLON:
{
{
{
switch ( LA(1) )
{
case LPAREN:
{
match(LPAREN);
parameter_declaration_list(null);
match(RPAREN);
break;
}
case AS:
case COLON:
{
break;
}
default:
{
throw new NoViableAltException(LT(1), getFilename());
}
}
}
{
switch ( LA(1) )
{
case AS:
{
match(AS);
type_reference();
break;
}
case COLON:
{
break;
}
default:
{
throw new NoViableAltException(LT(1), getFilename());
}
}
}
begin_with_doc(null);
attributes();
modifiers();
{
switch ( LA(1) )
{
case GET:
{
match(GET);
break;
}
case SET:
{
match(SET);
break;
}
default:
{
throw new NoViableAltException(LT(1), getFilename());
}
}
}
}
break;
}
default:
{
throw new NoViableAltException(LT(1), getFilename());
}
}
}
}
catch (RecognitionException ex)
{
if (0 == inputState.guessing)
{
reportError(ex, "property_header");
recover(ex,tokenSet_0_);
}
else
{
throw ex;
}
}
}