---
url: 'https://adk.nht.io/api/@nhtio/adk/batteries/media/interfaces/SourceSpan.md'
description: 'Source span carried by steps parsed from a pipe string, for error mapping.'
---

# Interface: SourceSpan

Defined in: [src/batteries/media/plan.ts:70](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/plan.ts#L70)

Source span carried by steps parsed from a pipe string, for error mapping.

## Properties

| Property                              | Type     | Description                                         | Defined in                                                                                                            |
| ------------------------------------- | -------- | --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
|  `col`       | `number` | One-based column number.                            | [src/batteries/media/plan.ts:76](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/plan.ts#L76) |
|  `length` | `number` | Length of the spanned text in characters.           | [src/batteries/media/plan.ts:78](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/plan.ts#L78) |
|  `line`     | `number` | One-based line number.                              | [src/batteries/media/plan.ts:74](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/plan.ts#L74) |
|  `offset` | `number` | Zero-based character offset into the source string. | [src/batteries/media/plan.ts:72](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/plan.ts#L72) |
