Expand description
This library provides essentials types and trait to locate syntax elements.
Spandescribes a byte range in a source file. It is very similar toRange<usize>but is not an iterator and implementsCopy. It also provides an intuitive API to write lexers and parsers.Location<F>combines aSpanwith a file identifierFto pin point a syntactic element in a source file.
The crate integrates well with the
miette library when the miette
feature is enabled.