Home
last modified time | relevance | path

Searched refs:separated_list (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/nom/tests/
Djson.rs40 separated_list!(char!(','), value),
53 delimited!(char!('{'), separated_list!(char!(','), key_value), char!('}')),
Dinference.rs27 separated_list!(
Dissues.rs187 separated_list!(tag!([0x0]), is_not!([0x0u8]))
257 separated_list!(input, complete!(tag!(",")), complete!(be_f64)) in list()
/external/rust/crates/nom/src/multi/
Dmacros.rs24 macro_rules! separated_list( macro
26 separated_list!($i, |i| $submac!(i, $($args)*), |i| $submac2!(i, $($args2)*))
30 separated_list!($i, |i| $submac!(i, $($args)*), $g);
34 separated_list!($i, $f, |i| $submac!(i, $($args)*));
583 fn separated_list() { in separated_list() function
584 named!(multi<&[u8],Vec<&[u8]> >, separated_list!(tag!(","), tag!("abcd"))); in separated_list()
585 named!(multi_empty<&[u8],Vec<&[u8]> >, separated_list!(tag!(","), tag!(""))); in separated_list()
586 named!(multi_longsep<&[u8],Vec<&[u8]> >, separated_list!(tag!(".."), tag!("abcd"))); in separated_list()
Dmod.rs238 pub fn separated_list<I, O, O2, E, F, G>(sep: G, f: F) -> impl Fn(I) -> IResult<I, Vec<O>, E> in separated_list() function
299 separated_list(sep, f)(i) in separated_listc()
/external/rust/crates/cexpr/src/
Dexpr.rs34 use nom::multi::{fold_many0, many0, separated_list};
619 separated_list(p(","), typed_token!(Identifier)), in fn_macro_declaration()
/external/rust/crates/nom/src/
Dwhitespace.rs635 separated_list!(
745 ($i:expr, $separator:path, separated_list ! ($($rest:tt)*) ) => {
1058 separated_list!(char!(','), alt!(
/external/rust/crates/nom/
DCHANGELOG.md365 - @jethrogb for avoiding move issues in `separated_list`
433 - `escaped`, `separated_list` and `separated_nonempty_list` can now return `Incomplete` when necess…
640 - @evestera for `separated_list!` fixes
652 - `separated_list!` and `separated_nonempty_list!` will not consume the separator if there's no fol…
1021 - `separated_list(sep, X)` returns a `Vec<X>`