Trait gluon_parser::ParserSource
source · pub trait ParserSource {
// Required methods
fn src(&self) -> &str;
fn start_index(&self) -> BytePos;
// Provided method
fn span(&self) -> Span<BytePos> { ... }
}
pub trait ParserSource {
// Required methods
fn src(&self) -> &str;
fn start_index(&self) -> BytePos;
// Provided method
fn span(&self) -> Span<BytePos> { ... }
}