Skip to main content

numeric_kind

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 off on parsing the a number into a specific value.