presto-main/src/main/java/io/prestosql/memory/TraversingQueryContextVisitor.java/TraversingQueryContextVisitor/visitQueryContext
class TraversingQueryContextVisitor:    @Override
    public R visitQueryContext(QueryContext queryContext, C visitContext)
    {
        return mergeResults(queryContext.acceptChildren(this, visitContext));
    }