final public void entity_class() throws ParseException {
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case ENTITY:
      jj_consume_token(ENTITY);
      break;
    case ARCHITECTURE:
      jj_consume_token(ARCHITECTURE);
      break;
    case CONFIGURATION:
      jj_consume_token(CONFIGURATION);
      break;
    case PROCEDURE:
      jj_consume_token(PROCEDURE);
      break;
    case FUNCTION:
      jj_consume_token(FUNCTION);
      break;
    case PACKAGE:
      jj_consume_token(PACKAGE);
      break;
    case TYPE:
      jj_consume_token(TYPE);
      break;
    case SUBTYPE:
      jj_consume_token(SUBTYPE);
      break;
    case CONSTANT:
      jj_consume_token(CONSTANT);
      break;
    case SIGNAL:
      jj_consume_token(SIGNAL);
      break;
    case VARIABLE:
      jj_consume_token(VARIABLE);
      break;
    case COMPONENT:
      jj_consume_token(COMPONENT);
      break;
    case LABEL:
      jj_consume_token(LABEL);
      break;
    case LITERAL:
      jj_consume_token(LITERAL);
      break;
    case UNITS:
      jj_consume_token(UNITS);
      break;
    case GROUP:
      jj_consume_token(GROUP);
      break;
    case FILE:
      jj_consume_token(FILE);
      break;
    default:
      jj_la1[18] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
  }