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.
pub fn numeric_kind(
lexer: &mut Lexer<'_>,
start: Token,
) -> Result<NumericKind, SyntaxError>
Tokens which can start with digits: Number or Duration. Like numeric but holds of parsing the a number into a specific value.