Struct peresil::Alternate [] [src]

#[must_use]
pub struct Alternate<'pm, P: 'pm, T, E: 'pm> { /* fields omitted */ }

Follows the first successful parsing path.

Methods

impl<'pm, P, T, E> Alternate<'pm, P, T, E> where
    P: Point,
    E: Recoverable
[src]

Run one alternative parser.

Complete the alternatives, returning the first successful branch.