Searched refs:many1 (Results 1 – 9 of 9) sorted by relevance
/external/rust/crates/cexpr/src/ |
D | literal.rs | 47 use nom::multi::{fold_many0, many0, many1, many_m_n}; 189 map_opt(preceded(char('x'), many1(hexadecimal)), |v| { in escaped_char() 259 map_opt(preceded(tag("0x"), many1(complete(hexadecimal))), |v| { in c_int() 262 map_opt(preceded(tag("0X"), many1(complete(hexadecimal))), |v| { in c_int() 265 map_opt(preceded(tag("0b"), many1(complete(binary))), |v| { in c_int() 268 map_opt(preceded(tag("0B"), many1(complete(binary))), |v| { in c_int() 271 map_opt(preceded(char('0'), many1(complete(octal))), |v| { in c_int() 274 map_opt(many1(complete(decimal)), |v| c_int_radix(v, 10)), in c_int() 294 pair(opt(byte!(b'-' | b'+')), many1(complete(decimal))), in float_exp() 303 many1(complete(decimal)), in c_float() [all …]
|
/external/rust/crates/nom/tests/ |
D | inference.rs | 49 u: opt!(many1!(alt!(
|
D | overflow.rs | 74 named!(multi<&[u8], Vec<&[u8]> >, many1!( length_data!(be_u64) ) ); in overflow_incomplete_many1()
|
D | issues.rs | 53 many1!(take_char),
|
/external/rust/crates/nom/src/multi/ |
D | macros.rs | 137 macro_rules! many1( macro 139 many1!($i, |i| $submac!(i, $($args)*)) 673 fn many1() { in many1() function 674 named!(multi<&[u8],Vec<&[u8]> >, many1!(tag!("abcd"))); in many1() 725 named!(multi1<&[u8],Vec<&[u8]> >, many1!(tst)); in infinite_many()
|
D | mod.rs | 102 pub fn many1<I, O, E, F>(f: F) -> impl Fn(I) -> IResult<I, Vec<O>, E> in many1() function 146 many1(f)(input) in many1c()
|
/external/rust/crates/nom/src/ |
D | str.rs | 466 named!(f <&str,&str>, recognize!(many1!(complete!(alt!( tag!("a") | tag!("b") ))))); in recognize_is_a()
|
D | whitespace.rs | 754 ($i:expr, $separator:path, many1 ! ($($rest:tt)*) ) => { 755 many1!($i, wrap_sep!($separator, $($rest)*))
|
/external/rust/crates/nom/ |
D | CHANGELOG.md | 612 - @jethrogb for fixing input usage in `many1` 625 - `many1` inccorectly used the `len` function instead of `input_len` 751 - if the child parser of `many0!` or `many1!` returns `Incomplete`, it will return `Incomplete` too… 823 - @daboross for refactoring `many0!` and `many1!` 1010 - @filipegoncalves and @thehydroimpulse for debugging an infinite loop in many0 and many1 1025 - `many0!` and `many1!` forbid parsers that do not consume input
|