Lines Matching refs:complete
43 use nom::bytes::complete::is_not;
44 use nom::bytes::complete::tag;
45 use nom::character::complete::{char, one_of};
46 use nom::combinator::{complete, map, map_opt, opt, recognize};
259 map_opt(preceded(tag("0x"), many1(complete(hexadecimal))), |v| {
262 map_opt(preceded(tag("0X"), many1(complete(hexadecimal))), |v| {
265 map_opt(preceded(tag("0b"), many1(complete(binary))), |v| {
268 map_opt(preceded(tag("0B"), many1(complete(binary))), |v| {
271 map_opt(preceded(char('0'), many1(complete(octal))), |v| {
274 map_opt(many1(complete(decimal)), |v| c_int_radix(v, 10)),
288 nom::combinator::complete(byte!(b'f' | b'l' | b'F' | b'L'))(i)
294 pair(opt(byte!(b'-' | b'+')), many1(complete(decimal))),
303 many1(complete(decimal)),
305 many0(complete(decimal)),
311 many0(complete(decimal)),
313 many1(complete(decimal)),
319 many0(complete(decimal)),
321 many1(complete(decimal)),
328 many1(complete(decimal)),
330 many0(complete(decimal)),
335 terminated(recognize(many1(complete(decimal))), float_width),