pub enum PrepareGrammarError {
ValidatePrecedences(ValidatePrecedenceError),
InternSymbols(InternSymbolsError),
ExtractTokens(ExtractTokensError),
FlattenGrammar(FlattenGrammarError),
ExpandTokens(ExpandTokensError),
ProcessInlines(ProcessInlinesError),
}
Variants§
ValidatePrecedences(ValidatePrecedenceError)
InternSymbols(InternSymbolsError)
ExtractTokens(ExtractTokensError)
FlattenGrammar(FlattenGrammarError)
ExpandTokens(ExpandTokensError)
ProcessInlines(ProcessInlinesError)
Trait Implementations§
Source§impl Debug for PrepareGrammarError
impl Debug for PrepareGrammarError
Source§impl Display for PrepareGrammarError
impl Display for PrepareGrammarError
Source§impl Error for PrepareGrammarError
impl Error for PrepareGrammarError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<PrepareGrammarError> for GenerateError
impl From<PrepareGrammarError> for GenerateError
Source§fn from(source: PrepareGrammarError) -> Self
fn from(source: PrepareGrammarError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrepareGrammarError
impl RefUnwindSafe for PrepareGrammarError
impl Send for PrepareGrammarError
impl Sync for PrepareGrammarError
impl Unpin for PrepareGrammarError
impl UnwindSafe for PrepareGrammarError
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