oni_comb_parser/text/
mod.rs1pub mod char;
2pub mod escaped;
3pub mod identifier;
4pub mod integer;
5pub mod lexeme;
6pub mod quoted_string;
7pub mod quoted_string_cow;
8#[cfg(feature = "regex")]
9pub mod regex;
10pub mod tag;
11pub mod take_while;
12pub mod whitespace;
13
14pub mod eof {
16 pub use crate::primitive::eof::{eof, Eof};
17
18 use crate::str_input::StrInput;
19
20 pub fn str_eof<'a>() -> Eof<StrInput<'a>> {
21 eof()
22 }
23}
24
25pub mod satisfy {
26 pub use crate::primitive::satisfy::{satisfy, Satisfy};
27
28 use crate::str_input::StrInput;
29
30 pub fn str_satisfy<'a, F: FnMut(char) -> bool>(f: F) -> Satisfy<F, StrInput<'a>> {
31 satisfy(f)
32 }
33}