final public void primary_unit(Context c) throws ParseException {
        Graph entity = null;
          log.trace(">>>> primary_unit");
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case ENTITY:
      entity_declaration(c);
      break;
    case CONFIGURATION:
      configuration_declaration(c);
      break;
    default:
      jj_la1[6] = jj_gen;
      if (jj_2_2(2147483647)) {
        package_declaration(c);
      } else {
        jj_consume_token(-1);
        throw new ParseException();
      }
    }
          log.trace("<<<< primary_unit");
  }