def all_terms(self, termset=None, phrases=True):
        
        if termset is None:
            termset = set()
        self._all_terms(termset, phrases=phrases)
        return termset
Returns a set of all terms in this query tree.
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/Query.all_terms