[][src]Crate pear

Modules

combinators
error
input
macros

Macros.

parsers
result

Macros

iformat

Like format! but tries to inline the string.

impl_show_with

Implements the Show trait for $($T)+ using the existing trait $trait.

parse

Runs the parser with the given name and input, then [parsers::eof()].

parse_context

Returns the current context up to the current mark.

parse_current_marker

Return the mark at the current parsing position.

parse_error

Returns an Err(ParseError::new($e)). Can used like format! as well.

parse_last_marker

Returns the last marker that was set.

parse_mark

Sets the marker to the current position.

parse_try

Runs a parser returning Some if it succeeds or None otherwise.