Function integer

Source
pub fn integer(i: TokenStream<'_>) -> IResult<TokenStream<'_>, i64, ParserError>
Expand description

Parse an integer from the input stream.

ยงErrors

Returns an error if the next token is not an integer.