Expand description
Source positions and related helper functions.
Important concepts in this module include:
- the span, represented by
Span
and related types; - interned strings, represented by [
Symbol
]s, with some common symbols available statically in the [sym
] module.
Reference: https://github.com/rust-lang/rust/blob/master/compiler/rustc_span/src/lib.rs
Re-exports§
Modules§
Functions§
- span_
to_ filename_ string - Get the filename from
SourceMap
bySpan
.