Function numeric_kind

Source
pub fn numeric_kind(
    lexer: &mut Lexer<'_>,
    start: Token,
) -> Result<NumericKind, SyntaxError>
Expand description

Tokens which can start with digits: Number or Duration. Like numeric but holds of parsing the a number into a specific value.