Sets the tokens cache.

        :param tokens: Completer tokens list.
        :type tokens: tuple or list

def __set_cache(self, tokens):
        """
        Sets the tokens cache.

        :param tokens: Completer tokens list.
        :type tokens: tuple or list
        """

        if DefaultCompleter._DefaultCompleter__tokens.get(self.__language):
            return

        DefaultCompleter._DefaultCompleter__tokens[self.__language] = tokens