diff options
author | Kevin DeLorey <[email protected]> | 2020-02-09 16:25:47 +0000 |
---|---|---|
committer | Kevin DeLorey <[email protected]> | 2020-02-09 16:37:43 +0000 |
commit | a957c473fdb79880c39b73dc9e0c923093cf16ac (patch) | |
tree | f998b548f530ce604651e0e6af314ed2ec74b3b5 /crates/ra_syntax/test_data/lexer/ok/0004_numbers.txt | |
parent | 22caf982b99c54058e2e9200aeea0e61cada284a (diff) | |
parent | 1b9b13b4b4a75b5531c3f046ce6bf72d681f2732 (diff) |
Merge branch 'master' into kdelorey/complete-trait-impl
Diffstat (limited to 'crates/ra_syntax/test_data/lexer/ok/0004_numbers.txt')
-rw-r--r-- | crates/ra_syntax/test_data/lexer/ok/0004_numbers.txt | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/lexer/ok/0004_numbers.txt b/crates/ra_syntax/test_data/lexer/ok/0004_numbers.txt new file mode 100644 index 000000000..e19fc5789 --- /dev/null +++ b/crates/ra_syntax/test_data/lexer/ok/0004_numbers.txt | |||
@@ -0,0 +1,57 @@ | |||
1 | INT_NUMBER 1 "0" | ||
2 | WHITESPACE 1 " " | ||
3 | INT_NUMBER 2 "00" | ||
4 | WHITESPACE 1 " " | ||
5 | INT_NUMBER 2 "0_" | ||
6 | WHITESPACE 1 " " | ||
7 | FLOAT_NUMBER 2 "0." | ||
8 | WHITESPACE 1 " " | ||
9 | INT_NUMBER 2 "0z" | ||
10 | WHITESPACE 1 "\n" | ||
11 | INT_NUMBER 5 "01790" | ||
12 | WHITESPACE 1 " " | ||
13 | INT_NUMBER 6 "0b1790" | ||
14 | WHITESPACE 1 " " | ||
15 | INT_NUMBER 6 "0o1790" | ||
16 | WHITESPACE 1 " " | ||
17 | INT_NUMBER 18 "0x1790aAbBcCdDeEfF" | ||
18 | WHITESPACE 1 " " | ||
19 | INT_NUMBER 6 "001279" | ||
20 | WHITESPACE 1 " " | ||
21 | INT_NUMBER 6 "0_1279" | ||
22 | WHITESPACE 1 " " | ||
23 | FLOAT_NUMBER 6 "0.1279" | ||
24 | WHITESPACE 1 " " | ||
25 | FLOAT_NUMBER 6 "0e1279" | ||
26 | WHITESPACE 1 " " | ||
27 | FLOAT_NUMBER 6 "0E1279" | ||
28 | WHITESPACE 1 "\n" | ||
29 | INT_NUMBER 1 "0" | ||
30 | DOT 1 "." | ||
31 | DOT 1 "." | ||
32 | INT_NUMBER 1 "2" | ||
33 | WHITESPACE 1 "\n" | ||
34 | INT_NUMBER 1 "0" | ||
35 | DOT 1 "." | ||
36 | IDENT 3 "foo" | ||
37 | L_PAREN 1 "(" | ||
38 | R_PAREN 1 ")" | ||
39 | WHITESPACE 1 "\n" | ||
40 | FLOAT_NUMBER 4 "0e+1" | ||
41 | WHITESPACE 1 "\n" | ||
42 | INT_NUMBER 1 "0" | ||
43 | DOT 1 "." | ||
44 | IDENT 1 "e" | ||
45 | PLUS 1 "+" | ||
46 | INT_NUMBER 1 "1" | ||
47 | WHITESPACE 1 "\n" | ||
48 | FLOAT_NUMBER 6 "0.0E-2" | ||
49 | WHITESPACE 1 "\n" | ||
50 | FLOAT_NUMBER 26 "0___0.10000____0000e+111__" | ||
51 | WHITESPACE 1 "\n" | ||
52 | INT_NUMBER 4 "1i64" | ||
53 | WHITESPACE 1 " " | ||
54 | FLOAT_NUMBER 7 "92.0f32" | ||
55 | WHITESPACE 1 " " | ||
56 | INT_NUMBER 5 "11__s" | ||
57 | WHITESPACE 1 "\n" | ||