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