fn lex_number_radix(&mut self, start_pos: Location, radix: u32) -> LexResult {
        let value_text = self.radix_run(radix);
        let end_pos = self.get_pos();
        let value = BigInt::from_str_radix(&value_text, radix).map_err(|e| LexicalError {
            error: LexicalErrorType::OtherError(format!("{:?}", e)),
            location: start_pos,
        })?;
        Ok((start_pos, Tok::Int { value }, end_pos))
    }
/// Lex a hex/octal/decimal/binary number without a decimal point.
Lex a hex/octal/decimal/binary number without a decimal point.
Lex a hex / octal / decimal / binary number without a decimal point .
fn lex_number_radix(&mut self, start_pos: Location, radix: u32) -> LexResult {
        let value_text = self.radix_run(radix);
        let end_pos = self.get_pos();
        let value = BigInt::from_str_radix(&value_text, radix).map_err(|e| LexicalError {
            error: LexicalErrorType::OtherError(format!("{:?}", e)),
            location: start_pos,
        })?;
        Ok((start_pos, Tok::Int { value }, end_pos))
    }
fn lex_number_radix ( & mut self , start_pos : Location , radix : u32 ) -> LexResult { let value_text = self . radix_run ( radix ) ; let end_pos = self . get_pos ( ) ; let value = BigInt :: from_str_radix ( & value_text , radix ) . map_err ( | e | LexicalError { error : LexicalErrorType :: OtherError ( format ! ( " " e ) ) , location : start_pos , } ) ? ; Ok ( ( start_pos , Tok :: Int { value } , end_pos ) ) }
Lex a hex/octal/decimal/binary number without a decimal point.
Lex a hex / octal / decimal / binary number without a decimal point .
&mut self
start_pos
Location
radix
u32