pub enum YaccParserErrorKind {
IllegalName,
IllegalString,
IncompleteRule,
DuplicateRule,
IncompleteComment,
IncompleteAction,
MissingColon,
MissingRightArrow,
PrematureEnd,
ProgramsNotSupported,
UnknownDeclaration,
DuplicatePrecedence,
PrecNotFollowedByToken,
DuplicateAvoidInsertDeclaration,
DuplicateImplicitTokensDeclaration,
DuplicateStartDeclaration,
DuplicateActiontypeDeclaration,
DuplicateEPP,
ReachedEOL,
InvalidString,
}
The various different possible Yacc parser errors.
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static