Trait swc_common::Spanned
source · [−]pub trait Spanned {
fn span(&self) -> Span;
fn span_lo(&self) -> BytePos { ... }
fn span_hi(&self) -> BytePos { ... }
}
Expand description
Derive
This trait can be derived with #[derive(Spanned)]
.