Iterate through the calls on node_a to find everything the node links to. This will return a list of tuples of nodes and calls that were ambiguous. :param Node node_a: :param list[Node] all_nodes: :param BaseLanguage language: :rtype: list[(Node, Call)]
(node_a, all_nodes)
| 411 | |
| 412 | |
| 413 | def _find_links(node_a, all_nodes): |
| 414 | """ |
| 415 | Iterate through the calls on node_a to find everything the node links to. |
| 416 | This will return a list of tuples of nodes and calls that were ambiguous. |
| 417 | |
| 418 | :param Node node_a: |
| 419 | :param list[Node] all_nodes: |
| 420 | :param BaseLanguage language: |
| 421 | :rtype: list[(Node, Call)] |
| 422 | """ |
| 423 | |
| 424 | links = [] |
| 425 | for call in node_a.calls: |
| 426 | lfc = _find_link_for_call(call, node_a, all_nodes) |
| 427 | assert not isinstance(lfc, Group) |
| 428 | links.append(lfc) |
| 429 | return list(filter(None, links)) |
| 430 | |
| 431 | |
| 432 | def map_it(sources, extension, no_trimming, exclude_namespaces, exclude_functions, |
no test coverage detected