[−][src]Type Definition arithmetic_parser::Error
type Error<'a> = SpannedError<&'a str>;
Error with code span available as a string reference.
Trait Implementations
impl<'a> ContextError<LocatedSpan<&'a str, ()>> for Error<'a>[src]
pub fn add_context(
input: InputSpan<'a>,
ctx: &'static str,
target: Self
) -> Self[src]
input: InputSpan<'a>,
ctx: &'static str,
target: Self
) -> Self
impl<'a> FromExternalError<LocatedSpan<&'a str, ()>, ErrorKind> for Error<'a>[src]
pub fn from_external_error(
input: InputSpan<'a>,
_: NomErrorKind,
err: ErrorKind
) -> Self[src]
input: InputSpan<'a>,
_: NomErrorKind,
err: ErrorKind
) -> Self
impl<'a> ParseError<LocatedSpan<&'a str, ()>> for Error<'a>[src]
pub fn from_error_kind(input: InputSpan<'a>, kind: NomErrorKind) -> Self[src]
pub fn append(_: InputSpan<'a>, _: NomErrorKind, other: Self) -> Self[src]
pub fn from_char(input: I, char) -> Self[src]
pub fn or(self, other: Self) -> Self[src]
impl<'_> StripCode for Error<'_>[src]
type Stripped = SpannedError<usize>
Resulting type after code stripping.