[][src]Struct antlr_rust::DefaultErrorStrategy

pub struct DefaultErrorStrategy<'input, Ctx: ParserNodeType<'input>> { /* fields omitted */ }

This is the default implementation of ErrorStrategy used for error reporting and recovery in ANTLR parsers.

Implementations

impl<'input, Ctx: ParserNodeType<'input>> DefaultErrorStrategy<'input, Ctx>[src]

pub fn new() -> Self[src]

Creates new instance of DefaultErrorStrategy

Trait Implementations

impl<'input, Ctx: Debug + ParserNodeType<'input>> Debug for DefaultErrorStrategy<'input, Ctx> where
    Ctx::Type: Debug
[src]

impl<'input, Ctx: ParserNodeType<'input>> Default for DefaultErrorStrategy<'input, Ctx>[src]

impl<'a, T: Parser<'a>> ErrorStrategy<'a, T> for DefaultErrorStrategy<'a, T::Node>[src]

impl<'input, Ctx: ParserNodeType<'input>> TidAble<'input> for DefaultErrorStrategy<'input, Ctx> where
    Ctx: TidAble<'input>, 
[src]

type Static = __DefaultErrorStrategyinputCtx_should_never_exist<Ctx::Static>

Auto Trait Implementations

impl<'input, Ctx> !RefUnwindSafe for DefaultErrorStrategy<'input, Ctx>[src]

impl<'input, Ctx> !Send for DefaultErrorStrategy<'input, Ctx>[src]

impl<'input, Ctx> !Sync for DefaultErrorStrategy<'input, Ctx>[src]

impl<'input, Ctx> Unpin for DefaultErrorStrategy<'input, Ctx>[src]

impl<'input, Ctx> UnwindSafe for DefaultErrorStrategy<'input, Ctx> where
    <Ctx as ParserNodeType<'input>>::Type: RefUnwindSafe
[src]

Blanket Implementations

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

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

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

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

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

impl<T> NodeText for T[src]

impl<'a, T> Tid<'a> for T where
    T: TidAble<'a> + ?Sized
[src]

impl<'a, X> TidExt<'a> for X where
    X: Tid<'a> + ?Sized
[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.