rust/crates/ra_syntax/tests/data/lexer/0004_numbers.txt

69 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-12-30 06:29:09 -06:00
INT_NUMBER 1 "0"
WHITESPACE 1 " "
INT_NUMBER 2 "0b"
WHITESPACE 1 " "
INT_NUMBER 2 "0o"
WHITESPACE 1 " "
INT_NUMBER 2 "0x"
WHITESPACE 1 " "
INT_NUMBER 2 "00"
WHITESPACE 1 " "
INT_NUMBER 2 "0_"
WHITESPACE 1 " "
FLOAT_NUMBER 2 "0."
WHITESPACE 1 " "
INT_NUMBER 2 "0e"
WHITESPACE 1 " "
INT_NUMBER 2 "0E"
WHITESPACE 1 " "
2017-12-31 02:15:27 -06:00
INT_NUMBER 2 "0z"
2017-12-30 06:29:09 -06:00
WHITESPACE 1 "\n"
INT_NUMBER 5 "01790"
WHITESPACE 1 " "
INT_NUMBER 6 "0b1790"
WHITESPACE 1 " "
INT_NUMBER 6 "0o1790"
WHITESPACE 1 " "
INT_NUMBER 18 "0x1790aAbBcCdDeEfF"
WHITESPACE 1 " "
INT_NUMBER 6 "001279"
WHITESPACE 1 " "
INT_NUMBER 6 "0_1279"
WHITESPACE 1 " "
FLOAT_NUMBER 6 "0.1279"
WHITESPACE 1 " "
INT_NUMBER 6 "0e1279"
WHITESPACE 1 " "
INT_NUMBER 6 "0E1279"
WHITESPACE 1 "\n"
INT_NUMBER 1 "0"
DOT 1 "."
DOT 1 "."
2017-12-30 06:29:09 -06:00
INT_NUMBER 1 "2"
WHITESPACE 1 "\n"
INT_NUMBER 1 "0"
2017-12-30 07:30:37 -06:00
DOT 1 "."
2017-12-30 06:29:09 -06:00
IDENT 3 "foo"
2017-12-30 07:30:37 -06:00
L_PAREN 1 "("
R_PAREN 1 ")"
2017-12-30 06:29:09 -06:00
WHITESPACE 1 "\n"
INT_NUMBER 2 "0e"
2017-12-31 06:29:09 -06:00
PLUS 1 "+"
2017-12-30 06:29:09 -06:00
INT_NUMBER 1 "1"
WHITESPACE 1 "\n"
INT_NUMBER 1 "0"
2017-12-30 07:30:37 -06:00
DOT 1 "."
2017-12-30 06:29:09 -06:00
IDENT 1 "e"
2017-12-31 06:29:09 -06:00
PLUS 1 "+"
2017-12-30 06:29:09 -06:00
INT_NUMBER 1 "1"
WHITESPACE 1 "\n"
FLOAT_NUMBER 6 "0.0E-2"
WHITESPACE 1 "\n"
2017-12-30 06:56:52 -06:00
FLOAT_NUMBER 26 "0___0.10000____0000e+111__"
2017-12-31 02:15:27 -06:00
WHITESPACE 1 "\n"
INT_NUMBER 4 "1i64"
WHITESPACE 1 " "
FLOAT_NUMBER 7 "92.0f32"
WHITESPACE 1 " "
INT_NUMBER 5 "11__s"