Struct rusty_peg::util::Or
[−]
[src]
pub struct Or<NT1, P2> { pub a: NT1, pub b: P2, }
Fields
a: NT1
b: P2
pub struct Or<NT1, P2> { pub a: NT1, pub b: P2, }
a: NT1
b: P2
impl<NT1: Debug, P2: Debug> Debug for Or<NT1, P2>
[src]impl<'input, NT1, P2, R, G> Symbol<'input, G> for Or<NT1, P2> where NT1: Symbol<'input, G, Output=R>, P2: Symbol<'input, G, Output=R>
[src]type Output = R
fn pretty_print(&self) -> String
fn parse(&self, grammar: &mut G, start: Input<'input>) -> ParseResult<'input, R>
fn parse_complete(&self, grammar: &mut G, text: &'input str) -> Result<Self::Output, Error<'input>>
fn parse_prefix(&self, grammar: &mut G, text: &'input str) -> ParseResult<'input, Self::Output>