

def accept(self, visitor):
    qs = [q.accept(visitor) for q in self.subqueries]
    return visitor(self.__class__(qs, boost=self.boost))

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py CompoundQuery.accept/original