Module span
Source - BuiltinInfo
- The
Span
belongs to something, which was generated by the Compiler. This
could be the imports from the prelude or the testing harness. - ExpnInfo
- Information about a specific expansion.
- FileInfo
- FilePos
- A location inside a file.
- Ident
- Span
- A region of code, used for snipping, lint emission, and the retrieval of
context information.
- SpanPos
- A byte position used for the start and end position of
Span
s.
- SpanSource
- HasSpan
- A trait for types, that provide a
Span
. It is implemented for all
AST nodes, Span
itself, and for references to them as well.