[][src]Trait gluon_parser::ParserSource

pub trait ParserSource {
    fn src(&self) -> &str;
fn start_index(&self) -> BytePos; fn span(&self) -> Span<BytePos> { ... } }

Required methods

fn src(&self) -> &str

fn start_index(&self) -> BytePos

Loading content...

Provided methods

fn span(&self) -> Span<BytePos>

Loading content...

Implementations on Foreign Types

impl<'a, S: ?Sized> ParserSource for &'a S where
    S: ParserSource
[src]

fn span(&self) -> Span<BytePos>[src]

impl ParserSource for str[src]

fn span(&self) -> Span<BytePos>[src]

impl ParserSource for FileMap[src]

fn span(&self) -> Span<BytePos>[src]

Loading content...

Implementors

Loading content...