Crate yarpl[][src]

Expand description

yarpl, Yet Another Rust Parsing Library

Structs

Digits

When parsed, returns a String of one or more digits.

Just

A generic way to parse a specific string.

Letters

Parses a String of one or more alphabetic characters.

Maybe

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

Number

Returns a String of one or more decimal digit characters when parsed.

Over

Returns Vec<T::Target> if it can be parsed more than the amount specified, Err otherwise.

Parser

Struct to facilitate parsing.

Spaces

Parses a String of one or more whitespace characters.

Under

Returns Vec<T::Target> if T : Expect is parsed less than the amount specified, Err otherwise.

Unexpected

An Error type returned from a failed parse.

Traits

Expect

Implements how a Parser should consume its input to yield Self::Target.

Type Definitions

Result

An alias for Result which is returned from Parser::expect.