manger 0.1.1

A performant, low-level, lightweight and intuitive combinatoric parser library
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Struct representing a Whitespace utf-8 character.
///
/// Will consume all characters which return true on [`char::is_whitespace`].
#[derive(Debug, PartialEq)]
pub struct Whitespace;

crate::consume_struct!(
    Whitespace => [
        : char { |token: char| token.is_whitespace() };
    ]
);