Function debris_parser::parser::create_neg_int_literal_maybe
source · fn create_neg_int_literal_maybe(parser: &mut Parser<'_>)
Expand description
This function implements a hack that combines a minus
token with an int token.
This is not done in general, because this behavior should not be exhibited in
all places. E.g. a-2
should not parse a negative number literal.