pub trait Parser<'parser> {
    type Value<'a>
       where 'a: 'parser;

    // Required method
    fn parse<'a: 'parser, S>(
        &mut self,
        code: &'a S
    ) -> ParseResult<Self::Value<'a>>
       where S: SourceFile + ?Sized + 'a;
}

Required Associated Types§

source

type Value<'a> where 'a: 'parser

Required Methods§

source

fn parse<'a: 'parser, S>(&mut self, code: &'a S) -> ParseResult<Self::Value<'a>>
where S: SourceFile + ?Sized + 'a,

Object Safety§

This trait is not object safe.

Implementors§