Module pom::parser [] [src]

Structs

Parser

Parser combinator.

Functions

call

Call a parser factory, can be used to create recursive parsers.

empty

Always success, consume no input.

eof

Success when end of file is reached.

is_a

Sucess when predict return true on current input symbol.

none_of

Sucess when current input symbol is none of the set.

not_a

Sucess when predict return false on current input symbol.

one_of

Sucess when current input symbol is one of the set.

range

Sucess when the range contains current input symbol.

seq

Sucess when sequence of symbols match current input.

skip

Skip n symbols.

take

Read n symbols.

term

Sucess when current input symbol equals t.