baml.csv.Position
A position in a CSV source.
Reference version
Signature
class baml.csv.PositionA position in a CSV source.
The three coordinates disagree on purpose: byte is where to seek, line
is what a text editor shows, and record is what the data means. A quoted
field spanning newlines makes them diverge, which is exactly when a bare
line number would mislead.
Source:<builtin>/baml/ns_csv/csv.bamlbytes 3052–3244
Fields
byte
int0-based byte offset into the source.
line
int1-based line number.
record
int0-based data-record index (header excluded).
Implementations
baml.Concrete for T
Source:<builtin>/baml/core.bamlbytes 763–795