aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/lexer/ok/0004_numbers.txt
blob: e19fc5789e355026cbf945ea0c88abc89fc4fb24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
INT_NUMBER 1 "0"
WHITESPACE 1 " "
INT_NUMBER 2 "00"
WHITESPACE 1 " "
INT_NUMBER 2 "0_"
WHITESPACE 1 " "
FLOAT_NUMBER 2 "0."
WHITESPACE 1 " "
INT_NUMBER 2 "0z"
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 " "
FLOAT_NUMBER 6 "0e1279"
WHITESPACE 1 " "
FLOAT_NUMBER 6 "0E1279"
WHITESPACE 1 "\n"
INT_NUMBER 1 "0"
DOT 1 "."
DOT 1 "."
INT_NUMBER 1 "2"
WHITESPACE 1 "\n"
INT_NUMBER 1 "0"
DOT 1 "."
IDENT 3 "foo"
L_PAREN 1 "("
R_PAREN 1 ")"
WHITESPACE 1 "\n"
FLOAT_NUMBER 4 "0e+1"
WHITESPACE 1 "\n"
INT_NUMBER 1 "0"
DOT 1 "."
IDENT 1 "e"
PLUS 1 "+"
INT_NUMBER 1 "1"
WHITESPACE 1 "\n"
FLOAT_NUMBER 6 "0.0E-2"
WHITESPACE 1 "\n"
FLOAT_NUMBER 26 "0___0.10000____0000e+111__"
WHITESPACE 1 "\n"
INT_NUMBER 4 "1i64"
WHITESPACE 1 " "
FLOAT_NUMBER 7 "92.0f32"
WHITESPACE 1 " "
INT_NUMBER 5 "11__s"
WHITESPACE 1 "\n"