Crate pear

source ·



  • Implements the Show trait for $($T)+ using the existing trait $trait.
  • Runs the parser with the given name and input, then [parsers::eof()].
  • Returns the context from the current mark to the input position inclusive.
  • Return the mark at the current parsing position.
  • Returns an Err(ParseError::new($e)). Can used like format! as well.
  • Returns the last marker that was set.
  • Sets the marker to the current position.
  • Runs a parser returning Some if it succeeds or None otherwise.