Expand description
Types representing positions, spans, locations, etc of parsed PartiQL text.
Structs§
- Byte
Offset - A 0-indexed byte offset, relative to some other position.
- Byte
Position - A 0-indexed byte absolute position (i.e., relative to the start of a &str)
- Char
Offset - A 0-indexed char offset, relative to some other position.
- Line
AndChar Position - A 0-indexed line & char absolute position (i.e., relative to the start of a &str)
- Line
AndColumn - A 1-indexed line and column location intended for usage in errors/warnings/lints/etc.
- Line
Offset - A 0-indexed line offset, relative to some other position.
- Located
- A wrapper type that holds an
innervalue and alocationfor it - Location
- A range with an inclusive start and exclusive end.