> 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/callable/callable.get_reachable_instructions.md).

# Callable.get\_reachable\_instructions()

`get_reachable_instructions() →` [`APISet`](/glider-ide/api/iterables/apiset.md)`[`[`Instruction`](/glider-ide/api/instruction.md)`]`

## Query Example

```python
from glider import *

def query():
    functions = Functions().exec(1) 
  
    for reachable_instruction in functions[0].get_reachable_instructions():
        print(f"{reachable_instruction.source_code()}")

    return functions
```

## Example Output

<figure><img src="/files/vWcw8VF2PuyS9VL6sG7B" alt=""><figcaption></figcaption></figure>
