Trait bitsy_lang::HasSpan
source · pub trait HasSpan {
// Required method
fn span(&self) -> Span;
}Expand description
Many objects have location information.
HasSpan allows you to call [HasLoc::loc] to get the span information.