# visitSteps (/docs/api/functions/visitSteps)



```ts
function visitSteps(ctx, fn): void;
```

Defined in: [packages/core/src/ir.ts:246](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/ir.ts#L246)

Visit each step of each job, recording per-step origins on first sight.

## Parameters [#parameters]

### ctx [#ctx]

[`ParseContext`](../interfaces/ParseContext.mdx)

### fn [#fn]

(`view`) => `void`

## Returns [#returns]

`void`


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)