[][src]Struct lalrpop_util::state_machine::Parser

pub struct Parser<D, I> where
    D: ParserDefinition,
    I: Iterator<Item = Result<TokenTriple<D>, ParseError<D>>>, 
{ /* fields omitted */ }

Methods

impl<D, I> Parser<D, I> where
    D: ParserDefinition,
    I: Iterator<Item = Result<TokenTriple<D>, ParseError<D>>>, 
[src]

pub fn drive(definition: D, tokens: I) -> ParseResult<D>[src]

Auto Trait Implementations

impl<D, I> Send for Parser<D, I> where
    D: Send,
    I: Send,
    <D as ParserDefinition>::Location: Send,
    <D as ParserDefinition>::StateIndex: Send,
    <D as ParserDefinition>::Symbol: Send

impl<D, I> Unpin for Parser<D, I> where
    D: Unpin,
    I: Unpin,
    <D as ParserDefinition>::Location: Unpin,
    <D as ParserDefinition>::StateIndex: Unpin,
    <D as ParserDefinition>::Symbol: Unpin

impl<D, I> Sync for Parser<D, I> where
    D: Sync,
    I: Sync,
    <D as ParserDefinition>::Location: Sync,
    <D as ParserDefinition>::StateIndex: Sync,
    <D as ParserDefinition>::Symbol: Sync

impl<D, I> UnwindSafe for Parser<D, I> where
    D: UnwindSafe,
    I: UnwindSafe,
    <D as ParserDefinition>::Location: UnwindSafe,
    <D as ParserDefinition>::StateIndex: UnwindSafe,
    <D as ParserDefinition>::Symbol: UnwindSafe

impl<D, I> RefUnwindSafe for Parser<D, I> where
    D: RefUnwindSafe,
    I: RefUnwindSafe,
    <D as ParserDefinition>::Location: RefUnwindSafe,
    <D as ParserDefinition>::StateIndex: RefUnwindSafe,
    <D as ParserDefinition>::Symbol: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]