Crate yarpl[−][src]
yarpl
(or Yet Another Rust Parsing Library) makes use of a the Consumer
struct and the Feed
trait to make parsing easier.
Consumer
A Consumer
tracks parsed tokens as well as some remaining unparsed input.
Feed
The Feed
trait defines how a trait is parsed using a Consumer
using Consumer::consume
.
Macros
only | Defines a type that only parses a string. |
peek | Defines a type that solely parses with |
plan | Defines a type which parses a sequence of predefined |
Structs
Consumer | Holds tokens ( |
Many | Given a type |
Maybe | When parsed, always returns |
Must | When parsed, ensures an object of type |
Not | A type that, when parsed, ensures an object of type |
Peek | Consumes a single token built from a |
Traits
Feed | Defines how a type may be parsed by mutating |
Type Definitions
Result |