Trait sql_parse::Spanned

source ·
pub trait Spanned {
    fn span(&self) -> Span;

    fn join_span(&self, other: &impl OptSpanned) -> Span { ... }
}
Expand description

Compute byte span of an ast fragment

Required Methods§

Compute byte span of an ast fragment

Provided Methods§

Compute the minimal span containing both self and other

Implementations on Foreign Types§

Implementors§