Type Definition sql_parse::Span

source ·
pub type Span = Range<usize>;
Expand description

Byte span of ast fragment

Trait Implementations§

source§

impl Spanned for Span

source§

fn span(&self) -> Span

Compute byte span of an ast fragment
source§

fn join_span(&self, other: &impl OptSpanned) -> Span

Compute the minimal span containing both self and other