fn skip_float_exponent(&mut self) -> Result<bool, Diagnostic<FileSpan>> {
        if self.skip_if(|ch| ch == 'e' || ch == 'E') {
            self.skip_if(|ch| ch == '-' || ch == '+');
            if self.skip_separated_digits(is_dec_digit) == 0 {
                Err(Diagnostic::new_error("no valid digits found in exponent")
                    .with_label(Label::new_primary(self.token_span())))
            } else {
                Ok(true)
            }
        } else {
            Ok(false)
        }
    }
/// Consume float exponents, returning `true` if an exponent was found.
Consume float exponents, returning `true` if an exponent was found.
Consume float exponents returning ` true ` if an exponent was found .
fn skip_float_exponent(&mut self) -> Result<bool, Diagnostic<FileSpan>> {
        if self.skip_if(|ch| ch == 'e' || ch == 'E') {
            self.skip_if(|ch| ch == '-' || ch == '+');
            if self.skip_separated_digits(is_dec_digit) == 0 {
                Err(Diagnostic::new_error("no valid digits found in exponent")
                    .with_label(Label::new_primary(self.token_span())))
            } else {
                Ok(true)
            }
        } else {
            Ok(false)
        }
    }
fn skip_float_exponent ( & mut self ) -> Result < bool , Diagnostic < FileSpan > > { if self . skip_if ( | ch | ch == 'e' || ch == 'E' ) { self . skip_if ( | ch | ch == '-' || ch == '+' ) ; if self . skip_separated_digits ( is_dec_digit ) == 0 { Err ( Diagnostic :: new_error ( " " ) . with_label ( Label :: new_primary ( self . token_span ( ) ) ) ) } else { Ok ( true ) } } else { Ok ( false ) } }
Consume float exponents, returning `true` if an exponent was found.
Consume float exponents returning ` true ` if an exponent was found .
&mut self
&mut self