Function chumsky::text::int [−][src]
pub fn int<E: Error<char>>(
) -> impl Parser<char, Vec<char>, Error = E> + Copy + Clone
Expand description
A parser that accepts a positive integer.
An integer is defined as a non-empty sequence of ASCII digits, where the first digit is non-zero or the sequence has length one.