> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/internal/callgraph/callgraph.get_corresponding_node_for_function.md).

# CallGraph.get\_corresponding\_node\_for\_function()

`get_corresponding_node_for_function(function:` [`Callable`](/glider-ide/api/callable.md)`) →` [`CallNode`](/glider-ide/api/internal/callnode.md)

## Query Example

```python
from glider import *


def query():
    contracts = Contracts().exec(1)
    contract = contracts[0]

    for func in contract.functions().exec():
        call_node = contract.call_graph().get_corresponding_node_for_function(func)
        print(call_node.callable_name())

    return contracts
```

## Example Output

```json
[
  {
    "print_output": [
      "_msgSender",
      "_msgData"
    ]
  }
]
```
