Home
last modified time | relevance | path

Searched refs:fold_many0 (Results 1 - 11 of 11) sorted by relevance

/third_party/rust/crates/nom/benchmarks/benches/
H A Darithmetic.rs12 multi::fold_many0,
40 fold_many0( in term()
55 fold_many0( in expr()
H A Djson.rs14 multi::{fold_many0, separated_list0},
90 fold_many0(character, String::new, |mut string, c| { in string()
/third_party/rust/crates/nom/tests/
H A Darithmetic.rs7 multi::fold_many0,
38 fold_many0( in term()
54 fold_many0( in expr()
H A Dreborrow_fold.rs9 use nom::multi::fold_many0;
26 fold_many0(atom(tomb), String::new, |acc: String, next: String| { in list()
H A Djson.rs9 multi::{fold_many0, separated_list0},
85 fold_many0(character, String::new, |mut string, c| { in string()
/third_party/rust/crates/nom/fuzz/fuzz_targets/
H A Dfuzz_arithmetic.rs13 multi::fold_many0,
71 let res = fold_many0( in term()
99 let res = fold_many0( in expr()
/third_party/rust/crates/rust-cexpr/src/
H A Dexpr.rs34 use nom::multi::{fold_many0, many0, separated_list0};
307 fold_many0( in mul_div_rem()
326 fold_many0( in add_sub()
344 numeric(fold_many0( in shl_shr()
362 numeric(fold_many0( in and()
374 numeric(fold_many0( in xor()
386 numeric(fold_many0( in or()
H A Dliteral.rs47 use nom::multi::{fold_many0, many0, many1, many_m_n};
222 fold_many0( in c_string()
/third_party/rust/crates/nom/examples/
H A Dstring.rs19 use nom::multi::fold_many0;
139 // fold_many0 is the equivalent of iterator::fold. It runs a parser in a loop, in parse_string()
141 let build_string = fold_many0( in parse_string()
160 // `delimited` with a looping parser (like fold_many0), be sure that the in parse_string()
/third_party/rust/crates/nom/src/multi/
H A Dtests.rs15 count, fold_many0, fold_many1, fold_many_m_n, length_count, many0, many1, many_m_n, many_till,
415 fold_many0(tag("abcd"), Vec::new, fold_into_vec)(i) in fold_many0_test()
418 fold_many0(tag(""), Vec::new, fold_into_vec)(i) in fold_many0_test()
H A Dmod.rs670 /// use nom::multi::fold_many0;
674 /// fold_many0(
689 pub fn fold_many0<I, O, E, F, G, H, R>( in fold_many0() functions

Completed in 5 milliseconds