Lines Matching refs:ErrorKind
22 pub use nom::{error::ErrorKind, error::Error, Err, IResult, Needed};
30 pub enum ErrorKind { enum
47 Parser(nom::ErrorKind),
50 impl From<nom::ErrorKind> for ErrorKind { implementation
51 fn from(k: nom::ErrorKind) -> Self { in from()
52 ErrorKind::Parser(k) in from()
56 impl From<u32> for ErrorKind { implementation
58 ErrorKind::InvalidLiteral in from()
71 pub error: ErrorKind,
74 impl<I> From<(I, nom::ErrorKind)> for Error<I> {
75 fn from(e: (I, nom::ErrorKind)) -> Self { in from()
76 Self::from((e.0, ErrorKind::from(e.1))) in from()
80 impl<I> From<(I, ErrorKind)> for Error<I> {
81 fn from(e: (I, ErrorKind)) -> Self { in from()
99 fn from_error_kind(input: I, kind: nom::ErrorKind) -> Self { in from_error_kind()
106 fn append(_: I, _: nom::ErrorKind, other: Self) -> Self { in append() argument
142 Err(nom::Err::Error((rem, ErrorKind::Partial).into())) in assert_full_parse()