[][src]Trait tremor_script::lexer::ParserSource

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

Source for a parser

Required methods

fn src(&self) -> &str

The source as a str

fn start_index(&self) -> BytePos

the initial index

Loading content...

Implementations on Foreign Types

impl ParserSource for str[src]

Loading content...

Implementors

Loading content...