Searched refs:fold_many0 (Results 1 – 9 of 9) sorted by relevance
/external/rust/crates/nom/tests/ |
D | arithmetic.rs | 11 multi::fold_many0, 49 fold_many0( in term() 61 fold_many0( in expr()
|
D | named_args.rs | 71 res: fold_many0!( 84 res: fold_many0!(
|
D | inference.rs | 15 named!(multi<&[u8], () >, fold_many0!( take_while1!( is_digit ), (), |_, _| {}));
|
D | issues.rs | 241 named!(multi_617<&[u8], () >, fold_many0!( digits, (), |_, _| {})); 244 named!(multi_617_fails<&[u8], () >, fold_many0!( take_while1!( is_digit ), (), |_, _| {}));
|
/external/rust/crates/cexpr/src/ |
D | expr.rs | 34 use nom::multi::{fold_many0, many0, separated_list}; 320 fold_many0( in mul_div_rem() 339 fold_many0( in add_sub() 357 numeric(fold_many0( in shl_shr() 375 numeric(fold_many0( in and() 387 numeric(fold_many0( in xor() 399 numeric(fold_many0( in or()
|
D | literal.rs | 47 use nom::multi::{fold_many0, many0, many1, many_m_n}; 222 fold_many0( in c_string()
|
/external/rust/crates/nom/src/multi/ |
D | macros.rs | 448 macro_rules! fold_many0( macro 450 fold_many0!($i, |i| $submac!(i, $($args)*), $init, $fold_f) 453 $crate::multi::fold_many0($f, $init, $fold_f)($i) 886 fn fold_many0() { in fold_many0() function 893 named!( multi<&[u8],Vec<&[u8]> >, fold_many0!(tag_abcd, Vec::new(), fold_into_vec) ); in fold_many0() 894 named!( multi_empty<&[u8],Vec<&[u8]> >, fold_many0!(tag_empty, Vec::new(), fold_into_vec) ); in fold_many0()
|
D | mod.rs | 679 pub fn fold_many0<I, O, E, F, G, R>(f: F, init: R, g: G) -> impl Fn(I) -> IResult<I, R, E> in fold_many0() function 723 fold_many0(f, init, g)(i) in fold_many0c()
|
/external/rust/crates/nom/ |
D | CHANGELOG.md | 647 - `fold_many0!`, `fold_many1!` and `fold_many_m_n!` will take a parser, an initial value and a comb…
|