lalrpop_util::state_machine

Type Alias ErrorRecovery

source
pub type ErrorRecovery<D> = ErrorRecovery<Location<D>, Token<D>, Error<D>>;

Aliased Type§

struct ErrorRecovery<D> {
    pub error: ParseError<<D as ParserDefinition>::Location, <D as ParserDefinition>::Token, <D as ParserDefinition>::Error>,
    pub dropped_tokens: Vec<(<D as ParserDefinition>::Location, <D as ParserDefinition>::Token, <D as ParserDefinition>::Location)>,
}

Fields§

§error: ParseError<<D as ParserDefinition>::Location, <D as ParserDefinition>::Token, <D as ParserDefinition>::Error>§dropped_tokens: Vec<(<D as ParserDefinition>::Location, <D as ParserDefinition>::Token, <D as ParserDefinition>::Location)>