Lines Matching refs:from
14 /// It provides methods to create an error from some combinators,
17 /// Creates an error from the input position and an [ErrorKind]
20 /// Combines an existing error with a new one created from the input
25 /// Creates an error from an input position and an expected character
40 /// Creates a new error from an input position, a static string and an existing error.
49 /// error types from external functions, like [std::str::FromStr]
51 /// Creates a new error from an input position, an [ErrorKind] indicating the
85 /// Create a new error from an input position and an external error
133 /// Creates an error from the input position and an [ErrorKind]
138 /// Combines an existing error with a new one created from the input
203 /// Create a new error from an input position and an external error
230 /// Create a new error from an input position, a static string and an existing error.
546 /// Creates a parse error from a `nom::ErrorKind`
556 /// Creates a parse error from a `nom::ErrorKind`,
747 pub fn print_offsets(input: &[u8], from: usize, offsets: &[(ErrorKind, usize, usize)]) -> String {
749 let mut i = from;