Home
last modified time | relevance | path

Searched refs:fold_many0 (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/nom/tests/
Darithmetic.rs11 multi::fold_many0,
49 fold_many0( in term()
61 fold_many0( in expr()
Dnamed_args.rs71 res: fold_many0!(
84 res: fold_many0!(
Dinference.rs15 named!(multi<&[u8], () >, fold_many0!( take_while1!( is_digit ), (), |_, _| {}));
Dissues.rs241 named!(multi_617<&[u8], () >, fold_many0!( digits, (), |_, _| {}));
244 named!(multi_617_fails<&[u8], () >, fold_many0!( take_while1!( is_digit ), (), |_, _| {}));
/external/rust/crates/cexpr/src/
Dexpr.rs34 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()
Dliteral.rs47 use nom::multi::{fold_many0, many0, many1, many_m_n};
222 fold_many0( in c_string()
/external/rust/crates/nom/src/multi/
Dmacros.rs448 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()
Dmod.rs679 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/
DCHANGELOG.md647 - `fold_many0!`, `fold_many1!` and `fold_many_m_n!` will take a parser, an initial value and a comb…