Skip to main content

Module span

Module span 

Source

Macros§

methods 🔒

Structs§

AbsoluteOffset
AbsoluteSpan
An absolute span within the input. The offsets are stored as absolute offsets within a given source file. These are used for diagnostics or outputs but not internally during compilation.
Offset
OneColumn
A one-based column number
OneLine
A one-based line number
Span
A span within the input.
ZeroColumn
A zero-based column number
ZeroLine
A zero-based line number

Enums§

Anchor

Traits§

IntoOptionSpan
Either Span or Option<Span>.
SourceSpanned
Returns the span of this item in the source.
Spanned
Implemented by all things that have a span (and span itself).