Struct peresil::Alternate[][src]

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

Follows the first successful parsing path.

Methods

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

Run one alternative parser.

Complete the alternatives, returning the first successful branch.

Auto Trait Implementations

impl<'pm, P, T, E, S> Send for Alternate<'pm, P, T, E, S> where
    E: Send,
    P: Send,
    S: Send,
    T: Send

impl<'pm, P, T, E, S> Sync for Alternate<'pm, P, T, E, S> where
    E: Sync,
    P: Sync,
    S: Sync,
    T: Sync