public final void mDOCUMENT_COMMENT() throws RecognitionException {
        try {
            int _type = DOCUMENT_COMMENT;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // BELScript.g:253:17: ( '#' (~ ( '\\n' | '\\r' ) )* )
            // BELScript.g:254:5: '#' (~ ( '\\n' | '\\r' ) )*
            {
            match('#'); 
            // BELScript.g:254:9: (~ ( '\\n' | '\\r' ) )*
            loop1:
            do {
                int alt1=2;
                int LA1_0 = input.LA(1);

                if ( ((LA1_0>='\u0000' && LA1_0<='\t')||(LA1_0>='\u000B' && LA1_0<='\f')||(LA1_0>='\u000E' && LA1_0<='\uFFFF')) ) {
                    alt1=1;
                }


                switch (alt1) {
            	case 1 :
            	    // BELScript.g:254:9: ~ ( '\\n' | '\\r' )
            	    {
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
            	        input.consume();

            	    }
            	    else {
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
            	        recover(mse);
            	        throw mse;}


            	    }
            	    break;

            	default :
            	    break loop1;
                }
            } while (true);

            _channel=HIDDEN;

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        }
    }
public final void mDOCUMENT_COMMENT ( ) throws RecognitionException { try { int _type = DOCUMENT_COMMENT ; int _channel = DEFAULT_TOKEN_CHANNEL ; { match ( '#' ) ; loop1 : do { int alt1 = 2 ; int LA1_0 = input . LA ( 1 ) ; if ( ( ( LA1_0 >= '' && LA1_0 <= '\t' ) || ( LA1_0 >= '' && LA1_0 <= '\f' ) || ( LA1_0 >= '' && LA1_0 <= '' ) ) ) { alt1 = 1 ; } switch ( alt1 ) { case 1 : { if ( ( input . LA ( 1 ) >= '' && input . LA ( 1 ) <= '\t' ) || ( input . LA ( 1 ) >= '' && input . LA ( 1 ) <= '\f' ) || ( input . LA ( 1 ) >= '' && input . LA ( 1 ) <= '' ) ) { input . consume ( ) ; } else { MismatchedSetException mse = new MismatchedSetException ( null , input ) ; recover ( mse ) ; throw mse ; } } break ; default : break loop1 ; } } while ( true ) ; _channel = HIDDEN ; } state . type = _type ; state . channel = _channel ; } finally { } }
$ANTLR start "DOCUMENT_COMMENT"