docs: function getCurrentQueries(QueryType) {
      // top level variables should not be exported for performance reasons (PERF_NOTES.md)
      return currentQueries ||
          (currentQueries =
              (previousOrParentNode.queries && previousOrParentNode.queries.clone() ||
                  new QueryType()));
  }