Trait gluon_parser::ParserSource [−][src]
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
Provided Methods
Implementations on Foreign Types
impl<'a, S: ?Sized> ParserSource for &'a S where
S: ParserSource,
[src]
impl<'a, S: ?Sized> ParserSource for &'a S where
S: ParserSource,
impl ParserSource for str
[src]
impl ParserSource for str
impl ParserSource for FileMap
[src]
impl ParserSource for FileMap