Searched refs:many_m_n (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/cexpr/src/ |
D | literal.rs | 47 use nom::multi::{fold_many0, many0, many1, many_m_n}; 188 map_opt(many_m_n(1, 3, octal), |v| c_raw_escape(v, 8)), in escaped_char() 193 preceded(char('u'), many_m_n(4, 4, hexadecimal)), in escaped_char() 197 preceded(char('U'), many_m_n(8, 8, hexadecimal)), in escaped_char()
|
/external/rust/crates/nom/tests/ |
D | inference.rs | 24 many_m_n!(
|
D | issues.rs | 296 use nom::multi::many_m_n; in issue_many_m_n_with_zeros() 298 let parser = many_m_n::<_, _, (), _>(0, 0, char('a')); in issue_many_m_n_with_zeros()
|
D | overflow.rs | 98 named!(multi<&[u8], Vec<&[u8]> >, many_m_n!(2, 4, length_data!(be_u64) ) ); in overflow_incomplete_many_m_n()
|
/external/rust/crates/nom/src/multi/ |
D | macros.rs | 217 macro_rules! many_m_n( macro 219 many_m_n!($i, $m, $n, |i| $submac!(i, $($args)*)) 732 fn many_m_n() { in many_m_n() function 733 named!(multi<&[u8],Vec<&[u8]> >, many_m_n!(2, 4, tag!("Abcd"))); in many_m_n()
|
D | mod.rs | 413 pub fn many_m_n<I, O, E, F>(m: usize, n: usize, f: F) -> impl Fn(I) -> IResult<I, Vec<O>, E> in many_m_n() function 469 many_m_n(m, n, f)(i) in many_m_nc()
|