TimeDefLexer.mUINT C# (CSharp) Method

mUINT() public method

public mUINT ( ) : void
return void
    public void mUINT() // throws RecognitionException [2]
    {
    		try
    		{
            int _type = UINT;
    	int _channel = DEFAULT_TOKEN_CHANNEL;
            // TimeDef.g:240:5: ( ( '0' .. '9' )+ )
            // TimeDef.g:240:7: ( '0' .. '9' )+
            {
            	// TimeDef.g:240:7: ( '0' .. '9' )+
            	int cnt1 = 0;
            	do 
            	{
            	    int alt1 = 2;
            	    int LA1_0 = input.LA(1);

            	    if ( ((LA1_0 >= '0' && LA1_0 <= '9')) )
            	    {
            	        alt1 = 1;
            	    }


            	    switch (alt1) 
            		{
            			case 1 :
            			    // TimeDef.g:240:8: '0' .. '9'
            			    {
            			    	MatchRange('0','9'); 

            			    }
            			    break;

            			default:
            			    if ( cnt1 >= 1 ) goto loop1;
            		            EarlyExitException eee1 =
            		                new EarlyExitException(1, input);
            		            throw eee1;
            	    }
            	    cnt1++;
            	} while (true);

            	loop1:
            		;	// Stops C# compiler whining that label 'loop1' has no statements


            }

            state.type = _type;
            state.channel = _channel;
        }
        finally 
    	{
        }
    }
    // $ANTLR end "UINT"