Home
last modified time | relevance | path

Searched refs:many1 (Results 1 - 6 of 6) sorted by relevance

/third_party/rust/crates/nom/tests/
H A Doverflow.rs58 use nom::multi::many1; in overflow_incomplete_many1()
61 many1(length_data(be_u64))(i) in overflow_incomplete_many1()
64 // Trigger an overflow in many1 in overflow_incomplete_many1()
/third_party/rust/crates/nom/benchmarks/benches/
H A Dhttp.rs7 use nom::{IResult, bytes::complete::{tag, take_while1}, character::complete::{line_ending, char}, multi::many1};
99 let (input, value) = many1(message_header_value)(input)?;
106 let (input, h) = many1(message_header)(input)?; in request()
/third_party/rust/crates/rust-cexpr/src/
H A Dliteral.rs47 use nom::multi::{fold_many0, many0, many1, many_m_n};
189 map_opt(preceded(char('x'), many1(hexadecimal)), |v| { in escaped_char()
259 map_opt(preceded(tag("0x"), many1(complete(hexadecimal))), |v| { in c_int()
262 map_opt(preceded(tag("0X"), many1(complete(hexadecimal))), |v| { in c_int()
265 map_opt(preceded(tag("0b"), many1(complete(binary))), |v| { in c_int()
268 map_opt(preceded(tag("0B"), many1(complete(binary))), |v| { in c_int()
271 map_opt(preceded(char('0'), many1(complete(octal))), |v| { in c_int()
274 map_opt(many1(complete(decimal)), |v| c_int_radix(v, 10)), in c_int()
294 pair(opt(byte!(b'-' | b'+')), many1(complete(decimal))), in float_exp()
303 many1(complet in c_float()
[all...]
/third_party/rust/crates/nom/src/
H A Dstr.rs4 use crate::{branch::alt, bytes::complete::tag_no_case, combinator::recognize, multi::many1};
510 recognize(many1(alt((tag("a"), tag("b")))))(i) in recognize_is_a()
/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,
136 many1(tag("abcd"))(i) in many1_test()
196 many1(tst)(i) in infinite_many()
H A Dmod.rs88 /// *Note*: If the parser passed to `many1` accepts empty inputs
89 /// (like `alpha0` or `digit0`), `many1` will return an error,
94 /// use nom::multi::many1;
98 /// many1(tag("abc"))(s)
108 pub fn many1<I, O, E, F>(mut f: F) -> impl FnMut(I) -> IResult<I, Vec<O>, E> in many1() functions
359 /// *Note*: If the parser passed to `many1` accepts empty inputs
360 /// (like `alpha0` or `digit0`), `many1` will return an error,
492 /// *Note*: If the parser passed to `many1` accepts empty inputs
493 /// (like `alpha0` or `digit0`), `many1` will return an error,
740 /// *Note*: If the parser passed to `many1` accept
[all...]

Completed in 4 milliseconds