SpanError

Trait SpanError 

Source
pub trait SpanError {
    // Required method
    fn span(&self) -> (usize, usize);
}

Required Methods§

Source

fn span(&self) -> (usize, usize)

Implementations on Foreign Types§

Source§

impl SpanError for (usize, usize)

Source§

fn span(&self) -> (usize, usize)

Source§

impl SpanError for InputLocation

Source§

fn span(&self) -> (usize, usize)

Source§

impl SpanError for Span<'_>

Source§

fn span(&self) -> (usize, usize)

Implementors§

Source§

impl SpanError for ocypode_lang::ast::Span