async _aggregateResults() {
    if (!this.__menuData) {
      return;
    }
    // await this.__fetchResults();

    const elements = Array.from(this._selectionMenuFormNode.elements);
    const repos = elements.filter(n => n.name === 'repos');
    const references = elements.filter(n => n.name === 'references');

    const activeRefs = [...new Set(checkedValues(references))];
    const activeRepos = [...new Set(checkedValues(repos))];
    const activeAnalyzer = this._activeAnalyzerNode.value;
    const totalQueryOutput = this.__aggregateResultData(activeRefs, activeRepos, activeAnalyzer);

    // Prepare viewData
    const dataResult = [];
    // When we support more analyzers than match-imports and match-subclasses, make a switch
    // here

    totalQueryOutput.forEach((specifierRes, i) => {
      dataResult[i] = {};
      dataResult[i].specifier = specifierRes.exportSpecifier;
      dataResult[i].sourceProject = specifierRes.exportSpecifier.project;
      dataResult[i].categories = getCategoriesForMatchedSpecifier(
        specifierRes,
        this.__providenceConf,
      );
      dataResult[i].type = specifierRes.exportSpecifier.name === '[file]' ? 'file' : 'specifier';
      // dedupe, because outputs genarted with older versions might have dedupe problems
      dataResult[i].count = Array.from(new Set(specifierRes.matchesPerProject))
        .map(mpp => mpp.files)
        .flat(Infinity).length;
      dataResult[i].matchedProjects = specifierRes.matchesPerProject;
    });
    this.tableData = dataResult;
  }
Gets all selection menu data and creates an aggregated
'_viewData' result.