Function come::utility::parsing::integer

source ·
pub fn integer<T: TryFrom<i64>>(code: &str) -> IResult<&str, T>
where <T as TryFrom<i64>>::Error: Debug,
Expand description

Parse source code to get an integer literal. Supports hex (startes with 0x) or dec.