utils/parser/
mod.rs

1//! Parser combinator library.
2
3mod base;
4mod combinator;
5mod error;
6mod iterator;
7mod leaf;
8mod macros;
9mod number;
10mod one_of;
11mod simple;
12mod then;
13mod tinystr;
14
15pub use base::{ErrToken, ParseState, Parser, ParserResult, from_parser_fn};
16pub use error::ParseError;
17pub use iterator::{ParserIterator, ParserMatchesIterator};
18pub use leaf::*;
19pub use number::{digit, i8, i16, i32, i64, i128, number_range, u8, u16, u32, u64, u128};
20pub use one_of::one_of;
21pub use simple::{byte, byte_lut, byte_range, constant, eof, eol, noop, take_while, take_while1};
22pub use tinystr::{tinystr, tinystr2, tinystr4, tinystr8};
23
24pub use crate::parser_byte_map as byte_map;
25pub use crate::parser_literal_map as literal_map;
26pub use crate::parser_parsable_enum as parsable_enum;
27pub use crate::parser_parse_tree as parse_tree;