Crate yarpl[][src]

Expand description

yarpl, Yet Another Rust Parsing Library

Structs

Either

Matches one of the characters included in the &'static str provided, then returns that character.

Error

Parser returns this when unsuccessful.

Literal

Matches a &'static str, and returns the string if successful.

Many

Matches as many T::Target as possible. If one or more are parsed, returns them in a Vec<T::Target>

Maybe

Returns Ok(Some(Self::Target)) if parsed successfully, Ok(None) otherwise.

Must

Returns Ok(()) if successful, Err(Error) otherwise. Doesn’t consume input.

Parser

Is used to parse things.

Traits

Parse

A Parse may use a Parser to yield an associated Target type.

Type Definitions

Result

The type returned from Parser::parse.