Reset all suffix links in all nodes in this trie.

def _reset_suffix_links(self):
        '''
        Reset all suffix links in all nodes in this trie.
        '''
        self._suffix_links_set = False
        for current, _parent in self.dfs():
            current.suffix = None
            current.dict_suffix = None
            current.longest_prefix = None