Expand description
Utilities for working with source code and printing nicely formatted diagnostic information like warnings and errors.
Optional Features
Extra functionality is accessible by enabling feature flags. The features currently available are:
- serialization - Adds
Serialize
andDeserialize
implementations for use withserde
Structs
A byte position in a source file.
A byte offset in a source file
A zero-indexed column offset into a source file
A 1-indexed column number. Useful for pretty printing source locations.
A column offset in a source file
A handle that points to a file in the database.
A database of source files.
A zero-indexed line offset into a source file
A 1-indexed line number. Useful for pretty printing source locations.
A line offset in a source file
A location in a source file.