/// Parse an unsigned literal integer.
Parse an unsigned literal integer.
Parse an unsigned literal integer .
fn parse_literal_uint(&mut self) -> Result<u64, ParserError> {
        match self.next_token() {
            Some(Token::Number(s)) => s.parse::<u64>().map_err(|e| {
                self.error(
                    self.peek_prev_pos(),
                    format!("Could not parse '{}' as u64: {}", s, e),
                )
            }),
            other => self.expected(self.peek_prev_pos(), "literal unsigned integer", other),
        }
    }
fn parse_literal_uint ( & mut self ) -> Result < u64 , ParserError > { match self . next_token ( ) { Some ( Token :: Number ( s ) ) => s . parse :: < u64 > ( ) . map_err ( | e | { self . error ( self . peek_prev_pos ( ) , format ! ( " " s e ) , ) } ) , other => self . expected ( self . peek_prev_pos ( ) , " " , other ) , } }
Parse an unsigned literal integer.
Parse an unsigned literal integer .
&mut self