Expand description

Types representing positions, spans, locations, etc of parsed PartiQL text.

Structs

A 0-indexed byte offset, relative to some other position.

A 0-indexed byte absolute position (i.e., relative to the start of a &str)

A 0-indexed char offset, relative to some other position.

A 0-indexed line & char absolute position (i.e., relative to the start of a &str)

A 1-indexed line and column location intended for usage in errors/warnings/lints/etc.

A 0-indexed line offset, relative to some other position.

A wrapper type that holds an inner value and a location for it

A range with an inclusive start and exclusive end.

Traits

Trait adding a to_located method to ease construction of Located from its inner value.