'Yields all the relevant combinations that could appear in the hierarchy'

def _hierarchy_token_combinations(self):

    for ii in range((len(self.hierarchy_tokens) + 1)):
        for item in itertools.combinations(self.hierarchy_tokens, ii):
            if ('compiler' in item):
                (yield item)
