rust/crates/parser/test_data/lexer/ok/numbers.rast
2022-03-06 08:43:18 +00:00

58 lines
938 B
Plaintext

INT_NUMBER "0"
WHITESPACE " "
INT_NUMBER "00"
WHITESPACE " "
INT_NUMBER "0_"
WHITESPACE " "
FLOAT_NUMBER "0."
WHITESPACE " "
INT_NUMBER "0z"
WHITESPACE "\n"
INT_NUMBER "01790"
WHITESPACE " "
INT_NUMBER "0b1790"
WHITESPACE " "
INT_NUMBER "0o1790"
WHITESPACE " "
INT_NUMBER "0x1790aAbBcCdDeEfF"
WHITESPACE " "
INT_NUMBER "001279"
WHITESPACE " "
INT_NUMBER "0_1279"
WHITESPACE " "
FLOAT_NUMBER "0.1279"
WHITESPACE " "
FLOAT_NUMBER "0e1279"
WHITESPACE " "
FLOAT_NUMBER "0E1279"
WHITESPACE "\n"
INT_NUMBER "0"
DOT "."
DOT "."
INT_NUMBER "2"
WHITESPACE "\n"
INT_NUMBER "0"
DOT "."
IDENT "foo"
L_PAREN "("
R_PAREN ")"
WHITESPACE "\n"
FLOAT_NUMBER "0e+1"
WHITESPACE "\n"
INT_NUMBER "0"
DOT "."
IDENT "e"
PLUS "+"
INT_NUMBER "1"
WHITESPACE "\n"
FLOAT_NUMBER "0.0E-2"
WHITESPACE "\n"
FLOAT_NUMBER "0___0.10000____0000e+111__"
WHITESPACE "\n"
INT_NUMBER "1i64"
WHITESPACE " "
FLOAT_NUMBER "92.0f32"
WHITESPACE " "
INT_NUMBER "11__s"
WHITESPACE "\n"