code: function query(memoryIndex, predicate, descend, read) {
      ngDevMode && assertPreviousIsParent();
      var queryList = new QueryList$1();
      var queries = getCurrentQueries(LQueries_);
      queries.track(queryList, predicate, descend, read);
      storeCleanupWithContext(null, queryList, queryList.destroy);
      if (memoryIndex != null) {
          store(memoryIndex, queryList);
      }
      return queryList;
  }
docs: Creates and returns a QueryList.
  
  @param memoryIndex The index in memory where the QueryList should be saved. If null,
  this is is a content query and the QueryList will be saved later through directiveCreate.
  @param predicate The type for which the query will search
  @param descend Whether or not to descend into children
  @param read What to save in the query
  @returns QueryList<T>