code: public final void mNS_VALUE() throws RecognitionException {
          try {
              int _type = NS_VALUE;
              int _channel = DEFAULT_TOKEN_CHANNEL;
              // BELStatement.g:283:9: ( ( '_' | LETTER | DIGIT )+ )
              // BELStatement.g:284:5: ( '_' | LETTER | DIGIT )+
              {
              // BELStatement.g:284:5: ( '_' | LETTER | DIGIT )+
              int cnt2=0;
              loop2:
              do {
                  int alt2=2;
                  int LA2_0 = input.LA(1);
  
                  if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {
                      alt2=1;
                  }
  
  
                  switch (alt2) {
              	case 1 :
              	    // BELStatement.g:
              	    {
              	    if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(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 ) break loop2;
                          EarlyExitException eee =
                              new EarlyExitException(2, input);
                          throw eee;
                  }
                  cnt2++;
              } while (true);
  
  
              }
  
              state.type = _type;
              state.channel = _channel;
          }
          finally {
          }
      }
docs: $ANTLR start "NS_VALUE"