[−][src]Module honeycomb::atoms
This module contains the atoms necessary for writing any parser.
Functions
any | Consumes any character |
eof | Consumes EOF |
if_take | Consumes a character if a function is true |
is | Consumes nothing, but succeeds if this parser succeeds |
list | Consumes a list of items separated by a seperating parser This will match the following. A, B, ... A, B, A, B A, A This parser will also consume no input. |
none_of | Consumes anything not in a list of bytes |
not | Consumes nothing, but fails if this parser succeeds |
one_of | Consumes any of a list of bytes |
opt | Succeeds whether or not the parser consumes input |
rec | This allows us to make recursive parsers |
seq | Consumes a matching sequence of characters |
seq_no_ws | Consumes a sequence of characters ignoring preceeding and succeeding whitespace |
space | Consumes whitespace |
sym | Consumes a matching character |