[][src]Module parser_fuck::combinators

Structs

And

Only pass if both subparsers pass

AndThen

Fail if the subparser fail, otherwise calls f with the new Parser and parse the Parser

Dyn

Wrap to dynamic

Iter

Continuously parse into iterators

Many

Multiple parsing

Map

Map a Parser<Output = T> to Parser<Output = U> by applying a function to a contained value

May

Parse 1 or 0 times

Not

Pass if the subparser fail

One

Match an item

Or

Pass when any subparser passes

OrElse

Pass if subparser pass, otherwise calls f and parse the result Parser

OrTrans

Pass if subparser pass, otherwise calls f with error point

ParserIter
Satisfy

Check whether it is satisfied

Sub

Match subpart

Functions

one

Match an item

satisfy

Check whether it is satisfied

sub

Match subpart

substr

Match substring