def accept(self, visitor):
        
        return visitor(copy.deepcopy(self))
Accepts a "visitor" function, applies it to any sub-queries and then
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/Query.accept