Skip to content

Pos

A source position attached to a diagnostic span.

All coordinates are zero-based.

Fields

byte_offset

Byte offset from the start of the source.

line

Line offset from the start of the source.

column

Column offset within the line.