public void mWS() // throws RecognitionException [2]
{
try
{
int _type = WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// TT\\Template.g:23:4: ( ( '\\r' | '\\n' | '\\t' | ' ' )+ )
// TT\\Template.g:23:6: ( '\\r' | '\\n' | '\\t' | ' ' )+
{
// TT\\Template.g:23:6: ( '\\r' | '\\n' | '\\t' | ' ' )+
int cnt3 = 0;
do
{
int alt3 = 2;
int LA3_0 = input.LA(1);
if ( ((LA3_0 >= '\t' && LA3_0 <= '\n') || LA3_0 == '\r' || LA3_0 == ' ') )
{
alt3 = 1;
}
switch (alt3)
{
case 1 :
// TT\\Template.g:
{
if ( (input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ' )
{
input.Consume();
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
Recover(mse);
throw mse;}
}
break;
default:
if ( cnt3 >= 1 ) goto loop3;
EarlyExitException eee3 =
new EarlyExitException(3, input);
throw eee3;
}
cnt3++;
} while (true);
loop3:
; // Stops C# compiler whining that label 'loop3' has no statements
_channel=HIDDEN;
}
state.type = _type;
state.channel = _channel;
}
finally
{
}
}
// $ANTLR end "WS"