final public NodeList ModuleDefinitionList() throws ParseException {
    NodeList module_list = new NodeList();
    ModuleDefinition module;
    label_1:
    while (true) {
      switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
      case TYPE_IDENTIFIER_T:
        ;
        break;
      default:
        jj_la1[0] = jj_gen;
        break label_1;
      }
      module = ModuleDefinition();
          module_list.addNode(module);
    }
      module_list.nodes.trimToSize();
      {if (true) return module_list;}
    throw new Error("Missing return statement in function");
  }