Struct antlr_rust::errors::NoViableAltError [−][src]
pub struct NoViableAltError {
pub base: BaseRecognitionError,
pub start_token: OwningToken,
}
Expand description
See ANTLRError::NoAltError
Fields
base: BaseRecognitionError
start_token: OwningToken
Implementations
pub fn new_full<'a, T: Parser<'a>>(
recog: &mut T,
start_token: OwningToken,
offending_token: OwningToken
) -> NoViableAltError
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NoViableAltError
impl Send for NoViableAltError
impl Sync for NoViableAltError
impl Unpin for NoViableAltError
impl UnwindSafe for NoViableAltError
Blanket Implementations
Mutably borrows from an owned value. Read more