Structs
- A
Span
records what portion of the user’s input something (e.g. a lexeme or production) references (i.e. theSpan
doesn’t hold a reference / copy of the actual input).
Traits
- Implemented for errors and warnings to provide access to their spans.