'Get a set of cleared snippets marked by clearsnippets with arguments
for specified filetypes.'

def get_cleared(self, filetypes):

    cleared = {}
    for ft in self._get_existing_deep_extends(filetypes):
        snippets = self._snippets[ft]
        for (key, value) in snippets._cleared.items():
            if ((key not in cleared) or (value > cleared[key])):
                cleared[key] = value
    return cleared
