Struct lalrpop_util::state_machine::Parser
source · pub struct Parser<D, I>where
D: ParserDefinition,
I: Iterator<Item = Result<TokenTriple<D>, ParseError<D>>>,{ /* private fields */ }
Implementations§
source§impl<D, I> Parser<D, I>where
D: ParserDefinition,
I: Iterator<Item = Result<TokenTriple<D>, ParseError<D>>>,
impl<D, I> Parser<D, I>where D: ParserDefinition, I: Iterator<Item = Result<TokenTriple<D>, ParseError<D>>>,
pub fn drive(definition: D, tokens: I) -> ParseResult<D>
Auto Trait Implementations§
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,
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> 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> 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> 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,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more