public void mALPHA() // throws RecognitionException [2]
{
try
{
int _type = ALPHA;
int _channel = DEFAULT_TOKEN_CHANNEL;
// TimeDef.g:241:6: ( ( 'A' .. 'Z' | 'a' .. 'z' )+ )
// TimeDef.g:241:8: ( 'A' .. 'Z' | 'a' .. 'z' )+
{
// TimeDef.g:241:8: ( 'A' .. 'Z' | 'a' .. 'z' )+
int cnt2 = 0;
do
{
int alt2 = 2;
int LA2_0 = input.LA(1);
if ( ((LA2_0 >= 'A' && LA2_0 <= 'Z') || (LA2_0 >= 'a' && LA2_0 <= 'z')) )
{
alt2 = 1;
}
switch (alt2)
{
case 1 :
// TimeDef.g:
{
if ( (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || (input.LA(1) >= 'a' && input.LA(1) <= 'z') )
{
input.Consume();
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
Recover(mse);
throw mse;}
}
break;
default:
if ( cnt2 >= 1 ) goto loop2;
EarlyExitException eee2 =
new EarlyExitException(2, input);
throw eee2;
}
cnt2++;
} while (true);
loop2:
; // Stops C# compiler whining that label 'loop2' has no statements
}
state.type = _type;
state.channel = _channel;
}
finally
{
}
}
// $ANTLR end "ALPHA"