Home
last modified time | relevance | path

Searched refs:ContextError (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/nom/src/
H A Derror.rs39 pub trait ContextError<I>: Sized { traits
82 impl<I> ContextError<I> for Error<I> {}
113 impl<I> ContextError<I> for (I, ErrorKind) {} impls
127 impl<I> ContextError<I> for () {} impls
193 impl<I> ContextError<I> for VerboseError<I> {
233 pub fn context<I: Clone, E: ContextError<I>, F, O>( in context()
/third_party/rust/crates/nom/tests/
H A Dissues.rs160 use nom::error::{ContextError, ParseError}; in issue_942()
161 pub fn parser<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in issue_942()
/third_party/rust/crates/nom/examples/
H A Djson.rs8 error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError},
94 fn string<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in string()
107 fn array<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in array()
122 fn key_value<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in array()
132 fn hash<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in hash()
156 fn json_value<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in json_value()
173 fn root<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in json_value()

Completed in 3 milliseconds