final public void literal() throws ParseException {
    if (jj_2_46(2147483647)) {
      numeric_literal();
    } else {
      switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
      case basic_identifier:
      case character_literal:
      case extended_identifier:
        enumeration_literal();
        break;
      case bit_string_literal:
        jj_consume_token(bit_string_literal);
        break;
      case string_literal:
        jj_consume_token(string_literal);
        break;
      case NULL:
        jj_consume_token(NULL);
        break;
      default:
        jj_la1[132] = jj_gen;
        jj_consume_token(-1);
        throw new ParseException();
      }
    }
  }