(self,
                                 state: 'ReachingDefinitionsState',
                                 symbol: Symbol,
                                 src_codeloc: Optional['CodeLocation'] = None,
                                 )
The generic handler for external functions with a known symbol
        This is different from
        The default behavior using hasattr/getattr supports existing code,
        but you can also implement the check if the external function is supported in another way,
        e.g. similar to SimProcedures
        :param state:
        :param symbol:
        :param src_codeloc:
        :return:
The generic handler for external functions with a known symbol
        This is different from
        The default behavior using hasattr/getattr supports existing code,
        but you can also implement the check if the external function is supported in another way,
        e.g. similar to SimProcedures
        :param state:
        :param symbol:
        :param src_codeloc:
        :return:
The generic handler for external functions with a known symbol This is different from The default behavior using hasattr / getattr supports existing code but you can also implement the check if the external function is supported in another way e . g . similar to SimProcedures : param state : : param symbol : : param src_codeloc : : return :
def handle_external_function_symbol(self,
                                 state: 'ReachingDefinitionsState',
                                 symbol: Symbol,
                                 src_codeloc: Optional['CodeLocation'] = None,
                                 ) -> Tuple[bool, 'ReachingDefinitionsState']:
        """
        The generic handler for external functions with a known symbol
        This is different from
        The default behavior using hasattr/getattr supports existing code,
        but you can also implement the check if the external function is supported in another way,
        e.g. similar to SimProcedures
        :param state:
        :param symbol:
        :param src_codeloc:
        :return:
        """
        if symbol.name:
            return self.handle_external_function_name(state, symbol.name, src_codeloc)
        else:
            l.warning('Symbol %s for external function has no name, falling back to generic handler',
                      symbol)
            return self.handle_external_function_fallback(state, src_codeloc)
def handle_external_function_symbol ( self , state : 'ReachingDefinitionsState' , symbol : Symbol , src_codeloc : Optional [ 'CodeLocation' ] = None , ) -> Tuple [ bool , 'ReachingDefinitionsState' ] : if symbol . name : return self . handle_external_function_name ( state , symbol . name , src_codeloc ) else : l . warning ( 'Symbol %s for external function has no name, falling back to generic handler' , symbol ) return self . handle_external_function_fallback ( state , src_codeloc )