src/license_expression/_pyahocorasick.py
def __get_node(self, tokens_string):
        """
        Return a node for this tokens_string or None if the trie does not
        contain the tokens_string. Private function retrieving a final node of
        the Trie for a given tokens_string.
        """
        if not tokens_string or not isinstance(tokens_string, str):
            return

        tokens = [t for t in get_tokens(tokens_string) if t.strip()]
        node = self.root
        for token in tokens:
            try:
                node = node.children[token]
            except KeyError:
                return None
        return node

        Return a node for this tokens_string or None if the trie does not
        contain the tokens_string. Private function retrieving a final node of
        the Trie for a given tokens_string.
        
Return a node for this tokens_string or None if the trie does not
contain the tokens_string. Private function retrieving a final node of
the Trie for a given tokens_string.
Return a node for this tokens_string or None if the trie does not contain the tokens_string . Private function retrieving a final node of the Trie for a given tokens_string .
def __get_node(self, tokens_string):
        if not tokens_string or not isinstance(tokens_string, str):
            return
        tokens = [t for t in get_tokens(tokens_string) if t.strip()]
        node = self.root
        for token in tokens:
            try:
                node = node.children[token]
            except KeyError:
                return None
        return node
def __get_node ( self , tokens_string ) : if not tokens_string or not isinstance ( tokens_string , str ) : return tokens = [ t for t in get_tokens ( tokens_string ) if t . strip ( ) ] node = self . root for token in tokens : try : node = node . children [ token ] except KeyError : return None return node
Return a node for this tokens_string or None if the trie does not
contain the tokens_string.
Return a node for this tokens_string or None if the trie does not contain the tokens_string .
"""
        Return a node for this tokens_string or None if the trie does not
        contain the tokens_string. Private function retrieving a final node of
        the Trie for a given tokens_string.
        """
self
tokens_string