Struct GrammarErrorReport
pub struct GrammarErrorReport {
pub error: ParseError,
pub repr: String,
}Expand description
One entry of find_grammar_errors’s result: the recorded UnexpectedInput
plus Lark’s _error_repr string. The binding maps
error to a hyperlark.exceptions.UnexpectedInput subclass and keeps repr
as the tuple’s second element.
Fields§
§error: ParseError§repr: StringAuto Trait Implementations§
impl !RefUnwindSafe for GrammarErrorReport
impl !UnwindSafe for GrammarErrorReport
impl Freeze for GrammarErrorReport
impl Send for GrammarErrorReport
impl Sync for GrammarErrorReport
impl Unpin for GrammarErrorReport
impl UnsafeUnpin for GrammarErrorReport
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