Home
last modified time | relevance | path

Searched refs:many_till (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/nom/src/multi/
Dmacros.rs173 macro_rules! many_till( macro
175 many_till!($i, |i| $submac!(i, $($args)*), |i| $submac2!(i, $($args2)*))
179 many_till!($i, |i| $submac!(i, $($args)*), $g);
183 many_till!($i, $f, |i| $submac!(i, $($args)*));
691 fn many_till() { in many_till() function
692 named!(multi<&[u8], (Vec<&[u8]>, &[u8]) >, many_till!( tag!( "abcd" ), tag!( "efgh" ) ) ); in many_till()
Dmod.rs168 pub fn many_till<I, O, P, E, F, G>(f: F, g: G) -> impl Fn(I) -> IResult<I, (Vec<O>, P), E> in many_till() function
213 many_till(f, g)(i) in many_tillc()
/external/rust/crates/nom/tests/
Doverflow.rs86 named!(multi<&[u8], (Vec<&[u8]>, &[u8]) >, many_till!( length_data!(be_u64), tag!("abc") ) ); in overflow_incomplete_many_till()
/external/rust/crates/nom/src/
Dwhitespace.rs1075 map!(many_till!(take!(1), ws!(tag!("."))), |(r, _)| r[0])
/external/rust/crates/nom/
DCHANGELOG.md558 …esult => Result` conversion work, making `AsChar`'s method more consistent, and adding `many_till!`
583 - `many_till!` applies repeatedly its first child parser until the second succeeds