# `MDEx.Sourcepos`
[🔗](https://github.com/leandrocp/mdex/blob/v0.12.0/lib/mdex/document.ex#L3)

Source position information for AST nodes.

Contains the start and end positions as `{line, column}` tuples,
both 1-based. These values reflect the original source positions
from parsing and are not updated when the AST is modified programmatically.

See https://docs.rs/comrak/latest/comrak/nodes/struct.Sourcepos.html

# `t`

```elixir
@type t() :: %MDEx.Sourcepos{
  end: {pos_integer(), pos_integer()},
  start: {pos_integer(), pos_integer()}
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
