mago-span 1.0.0-beta.18

Tracks exact character positions in source code, making it easier to report precise errors, warnings, and other diagnostics.
Documentation

Provides fundamental types for source code location tracking.

This crate defines the core primitives [Position] and [Span] used throughout mago to identify specific locations in source files. It also provides the generic traits [HasPosition] and [HasSpan] to abstract over any syntax tree node or token that has a location.