diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok')
9 files changed, 36 insertions, 36 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0001_struct_item.rast b/crates/ra_syntax/test_data/parser/ok/0001_struct_item.rast index c9d1af92f..a171fe7a8 100644 --- a/crates/ra_syntax/test_data/parser/ok/0001_struct_item.rast +++ b/crates/ra_syntax/test_data/parser/ok/0001_struct_item.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..31 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0002_struct_item_field.rast b/crates/ra_syntax/test_data/parser/ok/0002_struct_item_field.rast index 57fb7a329..362892b91 100644 --- a/crates/ra_syntax/test_data/parser/ok/0002_struct_item_field.rast +++ b/crates/ra_syntax/test_data/parser/ok/0002_struct_item_field.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..25 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0008_mod_item.rast b/crates/ra_syntax/test_data/parser/ok/0008_mod_item.rast index 60ded78d5..b2c1d791f 100644 --- a/crates/ra_syntax/test_data/parser/ok/0008_mod_item.rast +++ b/crates/ra_syntax/test_data/parser/ok/0008_mod_item.rast | |||
@@ -40,7 +40,7 @@ [email protected] | |||
40 | [email protected] "\n " | 40 | [email protected] "\n " |
41 | [email protected] "}" | 41 | [email protected] "}" |
42 | [email protected] "\n " | 42 | [email protected] "\n " |
43 | STRUCT_DEF@52..63 | 43 | [email protected] |
44 | [email protected] "struct" | 44 | [email protected] "struct" |
45 | [email protected] " " | 45 | [email protected] " " |
46 | [email protected] | 46 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0016_struct_flavors.rast b/crates/ra_syntax/test_data/parser/ok/0016_struct_flavors.rast index 00b1b65be..b15f41dd7 100644 --- a/crates/ra_syntax/test_data/parser/ok/0016_struct_flavors.rast +++ b/crates/ra_syntax/test_data/parser/ok/0016_struct_flavors.rast | |||
@@ -1,12 +1,12 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..9 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "A" | 6 | [email protected] "A" |
7 | [email protected] ";" | 7 | [email protected] ";" |
8 | [email protected] "\n" | 8 | [email protected] "\n" |
9 | STRUCT_DEF@10..21 | 9 | [email protected] |
10 | [email protected] "struct" | 10 | [email protected] "struct" |
11 | [email protected] " " | 11 | [email protected] " " |
12 | [email protected] | 12 | [email protected] |
@@ -16,7 +16,7 @@ [email protected] | |||
16 | [email protected] "{" | 16 | [email protected] "{" |
17 | [email protected] "}" | 17 | [email protected] "}" |
18 | [email protected] "\n" | 18 | [email protected] "\n" |
19 | STRUCT_DEF@22..33 | 19 | [email protected] |
20 | [email protected] "struct" | 20 | [email protected] "struct" |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] | 22 | [email protected] |
@@ -26,7 +26,7 @@ [email protected] | |||
26 | [email protected] ")" | 26 | [email protected] ")" |
27 | [email protected] ";" | 27 | [email protected] ";" |
28 | [email protected] "\n\n" | 28 | [email protected] "\n\n" |
29 | STRUCT_DEF@35..74 | 29 | [email protected] |
30 | [email protected] "struct" | 30 | [email protected] "struct" |
31 | [email protected] " " | 31 | [email protected] " " |
32 | [email protected] | 32 | [email protected] |
@@ -63,7 +63,7 @@ [email protected] | |||
63 | [email protected] "\n" | 63 | [email protected] "\n" |
64 | [email protected] "}" | 64 | [email protected] "}" |
65 | [email protected] "\n\n" | 65 | [email protected] "\n\n" |
66 | STRUCT_DEF@76..96 | 66 | [email protected] |
67 | [email protected] "struct" | 67 | [email protected] "struct" |
68 | [email protected] " " | 68 | [email protected] " " |
69 | [email protected] | 69 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0018_struct_type_params.rast b/crates/ra_syntax/test_data/parser/ok/0018_struct_type_params.rast index b757bd16d..630aa0708 100644 --- a/crates/ra_syntax/test_data/parser/ok/0018_struct_type_params.rast +++ b/crates/ra_syntax/test_data/parser/ok/0018_struct_type_params.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..13 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] ">" | 12 | [email protected] ">" |
13 | [email protected] ";" | 13 | [email protected] ";" |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
15 | STRUCT_DEF@14..32 | 15 | [email protected] |
16 | [email protected] "struct" | 16 | [email protected] "struct" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
@@ -34,7 +34,7 @@ [email protected] | |||
34 | [email protected] ")" | 34 | [email protected] ")" |
35 | [email protected] ";" | 35 | [email protected] ";" |
36 | [email protected] "\n" | 36 | [email protected] "\n" |
37 | STRUCT_DEF@33..56 | 37 | [email protected] |
38 | [email protected] "struct" | 38 | [email protected] "struct" |
39 | [email protected] " " | 39 | [email protected] " " |
40 | [email protected] | 40 | [email protected] |
@@ -62,7 +62,7 @@ [email protected] | |||
62 | [email protected] " " | 62 | [email protected] " " |
63 | [email protected] "}" | 63 | [email protected] "}" |
64 | [email protected] "\n\n" | 64 | [email protected] "\n\n" |
65 | STRUCT_DEF@58..70 | 65 | [email protected] |
66 | [email protected] "struct" | 66 | [email protected] "struct" |
67 | [email protected] " " | 67 | [email protected] " " |
68 | [email protected] | 68 | [email protected] |
@@ -72,7 +72,7 @@ [email protected] | |||
72 | [email protected] ">" | 72 | [email protected] ">" |
73 | [email protected] ";" | 73 | [email protected] ";" |
74 | [email protected] "\n" | 74 | [email protected] "\n" |
75 | STRUCT_DEF@71..85 | 75 | [email protected] |
76 | [email protected] "struct" | 76 | [email protected] "struct" |
77 | [email protected] " " | 77 | [email protected] " " |
78 | [email protected] | 78 | [email protected] |
@@ -84,7 +84,7 @@ [email protected] | |||
84 | [email protected] ">" | 84 | [email protected] ">" |
85 | [email protected] ";" | 85 | [email protected] ";" |
86 | [email protected] "\n" | 86 | [email protected] "\n" |
87 | STRUCT_DEF@86..101 | 87 | [email protected] |
88 | [email protected] "struct" | 88 | [email protected] "struct" |
89 | [email protected] " " | 89 | [email protected] " " |
90 | [email protected] | 90 | [email protected] |
@@ -97,7 +97,7 @@ [email protected] | |||
97 | [email protected] ">" | 97 | [email protected] ">" |
98 | [email protected] ";" | 98 | [email protected] ";" |
99 | [email protected] "\n" | 99 | [email protected] "\n" |
100 | STRUCT_DEF@102..120 | 100 | [email protected] |
101 | [email protected] "struct" | 101 | [email protected] "struct" |
102 | [email protected] " " | 102 | [email protected] " " |
103 | [email protected] | 103 | [email protected] |
@@ -112,7 +112,7 @@ [email protected] | |||
112 | [email protected] ">" | 112 | [email protected] ">" |
113 | [email protected] ";" | 113 | [email protected] ";" |
114 | [email protected] "\n" | 114 | [email protected] "\n" |
115 | STRUCT_DEF@121..142 | 115 | [email protected] |
116 | [email protected] "struct" | 116 | [email protected] "struct" |
117 | [email protected] " " | 117 | [email protected] " " |
118 | [email protected] | 118 | [email protected] |
@@ -130,7 +130,7 @@ [email protected] | |||
130 | [email protected] ">" | 130 | [email protected] ">" |
131 | [email protected] ";" | 131 | [email protected] ";" |
132 | [email protected] "\n" | 132 | [email protected] "\n" |
133 | STRUCT_DEF@143..166 | 133 | [email protected] |
134 | [email protected] "struct" | 134 | [email protected] "struct" |
135 | [email protected] " " | 135 | [email protected] " " |
136 | [email protected] | 136 | [email protected] |
@@ -149,7 +149,7 @@ [email protected] | |||
149 | [email protected] ">" | 149 | [email protected] ">" |
150 | [email protected] ";" | 150 | [email protected] ";" |
151 | [email protected] "\n" | 151 | [email protected] "\n" |
152 | STRUCT_DEF@167..183 | 152 | [email protected] |
153 | [email protected] "struct" | 153 | [email protected] "struct" |
154 | [email protected] " " | 154 | [email protected] " " |
155 | [email protected] | 155 | [email protected] |
@@ -162,7 +162,7 @@ [email protected] | |||
162 | [email protected] ">" | 162 | [email protected] ">" |
163 | [email protected] ";" | 163 | [email protected] ";" |
164 | [email protected] "\n" | 164 | [email protected] "\n" |
165 | STRUCT_DEF@184..203 | 165 | [email protected] |
166 | [email protected] "struct" | 166 | [email protected] "struct" |
167 | [email protected] " " | 167 | [email protected] " " |
168 | [email protected] | 168 | [email protected] |
@@ -178,7 +178,7 @@ [email protected] | |||
178 | [email protected] ">" | 178 | [email protected] ">" |
179 | [email protected] ";" | 179 | [email protected] ";" |
180 | [email protected] "\n" | 180 | [email protected] "\n" |
181 | STRUCT_DEF@204..233 | 181 | [email protected] |
182 | [email protected] "struct" | 182 | [email protected] "struct" |
183 | [email protected] " " | 183 | [email protected] " " |
184 | [email protected] | 184 | [email protected] |
@@ -202,7 +202,7 @@ [email protected] | |||
202 | [email protected] ">" | 202 | [email protected] ">" |
203 | [email protected] ";" | 203 | [email protected] ";" |
204 | [email protected] "\n\n" | 204 | [email protected] "\n\n" |
205 | STRUCT_DEF@235..249 | 205 | [email protected] |
206 | [email protected] "struct" | 206 | [email protected] "struct" |
207 | [email protected] " " | 207 | [email protected] " " |
208 | [email protected] | 208 | [email protected] |
@@ -215,7 +215,7 @@ [email protected] | |||
215 | [email protected] ">" | 215 | [email protected] ">" |
216 | [email protected] ";" | 216 | [email protected] ";" |
217 | [email protected] "\n" | 217 | [email protected] "\n" |
218 | STRUCT_DEF@250..267 | 218 | [email protected] |
219 | [email protected] "struct" | 219 | [email protected] "struct" |
220 | [email protected] " " | 220 | [email protected] " " |
221 | [email protected] | 221 | [email protected] |
@@ -233,7 +233,7 @@ [email protected] | |||
233 | [email protected] ">" | 233 | [email protected] ">" |
234 | [email protected] ";" | 234 | [email protected] ";" |
235 | [email protected] "\n" | 235 | [email protected] "\n" |
236 | STRUCT_DEF@268..289 | 236 | [email protected] |
237 | [email protected] "struct" | 237 | [email protected] "struct" |
238 | [email protected] " " | 238 | [email protected] " " |
239 | [email protected] | 239 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0020_type_param_bounds.rast b/crates/ra_syntax/test_data/parser/ok/0020_type_param_bounds.rast index 5100e6a48..9bdc50e1e 100644 --- a/crates/ra_syntax/test_data/parser/ok/0020_type_param_bounds.rast +++ b/crates/ra_syntax/test_data/parser/ok/0020_type_param_bounds.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..12 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] ">" | 12 | [email protected] ">" |
13 | [email protected] ";" | 13 | [email protected] ";" |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
15 | STRUCT_DEF@13..26 | 15 | [email protected] |
16 | [email protected] "struct" | 16 | [email protected] "struct" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
@@ -27,7 +27,7 @@ [email protected] | |||
27 | [email protected] ">" | 27 | [email protected] ">" |
28 | [email protected] ";" | 28 | [email protected] ";" |
29 | [email protected] "\n" | 29 | [email protected] "\n" |
30 | STRUCT_DEF@27..43 | 30 | [email protected] |
31 | [email protected] "struct" | 31 | [email protected] "struct" |
32 | [email protected] " " | 32 | [email protected] " " |
33 | [email protected] | 33 | [email protected] |
@@ -45,7 +45,7 @@ [email protected] | |||
45 | [email protected] ">" | 45 | [email protected] ">" |
46 | [email protected] ";" | 46 | [email protected] ";" |
47 | [email protected] "\n" | 47 | [email protected] "\n" |
48 | STRUCT_DEF@44..63 | 48 | [email protected] |
49 | [email protected] "struct" | 49 | [email protected] "struct" |
50 | [email protected] " " | 50 | [email protected] " " |
51 | [email protected] | 51 | [email protected] |
@@ -66,7 +66,7 @@ [email protected] | |||
66 | [email protected] ">" | 66 | [email protected] ">" |
67 | [email protected] ";" | 67 | [email protected] ";" |
68 | [email protected] "\n" | 68 | [email protected] "\n" |
69 | STRUCT_DEF@64..86 | 69 | [email protected] |
70 | [email protected] "struct" | 70 | [email protected] "struct" |
71 | [email protected] " " | 71 | [email protected] " " |
72 | [email protected] | 72 | [email protected] |
@@ -90,7 +90,7 @@ [email protected] | |||
90 | [email protected] ">" | 90 | [email protected] ">" |
91 | [email protected] ";" | 91 | [email protected] ";" |
92 | [email protected] "\n" | 92 | [email protected] "\n" |
93 | STRUCT_DEF@87..116 | 93 | [email protected] |
94 | [email protected] "struct" | 94 | [email protected] "struct" |
95 | [email protected] " " | 95 | [email protected] " " |
96 | [email protected] | 96 | [email protected] |
@@ -122,7 +122,7 @@ [email protected] | |||
122 | [email protected] ">" | 122 | [email protected] ">" |
123 | [email protected] ";" | 123 | [email protected] ";" |
124 | [email protected] "\n" | 124 | [email protected] "\n" |
125 | STRUCT_DEF@117..143 | 125 | [email protected] |
126 | [email protected] "struct" | 126 | [email protected] "struct" |
127 | [email protected] " " | 127 | [email protected] " " |
128 | [email protected] | 128 | [email protected] |
@@ -153,7 +153,7 @@ [email protected] | |||
153 | [email protected] ">" | 153 | [email protected] ">" |
154 | [email protected] ";" | 154 | [email protected] ";" |
155 | [email protected] "\n" | 155 | [email protected] "\n" |
156 | STRUCT_DEF@144..180 | 156 | [email protected] |
157 | [email protected] "struct" | 157 | [email protected] "struct" |
158 | [email protected] " " | 158 | [email protected] " " |
159 | [email protected] | 159 | [email protected] |
@@ -194,7 +194,7 @@ [email protected] | |||
194 | [email protected] ">" | 194 | [email protected] ">" |
195 | [email protected] ";" | 195 | [email protected] ";" |
196 | [email protected] "\n" | 196 | [email protected] "\n" |
197 | STRUCT_DEF@181..199 | 197 | [email protected] |
198 | [email protected] "struct" | 198 | [email protected] "struct" |
199 | [email protected] " " | 199 | [email protected] " " |
200 | [email protected] | 200 | [email protected] |
@@ -217,7 +217,7 @@ [email protected] | |||
217 | [email protected] ">" | 217 | [email protected] ">" |
218 | [email protected] ";" | 218 | [email protected] ";" |
219 | [email protected] "\n" | 219 | [email protected] "\n" |
220 | STRUCT_DEF@200..250 | 220 | [email protected] |
221 | [email protected] "struct" | 221 | [email protected] "struct" |
222 | [email protected] " " | 222 | [email protected] " " |
223 | [email protected] | 223 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0040_raw_struct_item_field.rast b/crates/ra_syntax/test_data/parser/ok/0040_raw_struct_item_field.rast index 0f0138c86..8cfc14f49 100644 --- a/crates/ra_syntax/test_data/parser/ok/0040_raw_struct_item_field.rast +++ b/crates/ra_syntax/test_data/parser/ok/0040_raw_struct_item_field.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..27 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0042_ufcs_call_list.rast b/crates/ra_syntax/test_data/parser/ok/0042_ufcs_call_list.rast index 4f0c68822..c4ffc0a3d 100644 --- a/crates/ra_syntax/test_data/parser/ok/0042_ufcs_call_list.rast +++ b/crates/ra_syntax/test_data/parser/ok/0042_ufcs_call_list.rast | |||
@@ -1,7 +1,7 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | [email protected] "// https://github.com ..." | 2 | [email protected] "// https://github.com ..." |
3 | [email protected] "\n\n" | 3 | [email protected] "\n\n" |
4 | STRUCT_DEF@62..73 | 4 | [email protected] |
5 | [email protected] "struct" | 5 | [email protected] "struct" |
6 | [email protected] " " | 6 | [email protected] " " |
7 | [email protected] | 7 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0043_complex_assignment.rast b/crates/ra_syntax/test_data/parser/ok/0043_complex_assignment.rast index 9c2ea3754..adc4a22e9 100644 --- a/crates/ra_syntax/test_data/parser/ok/0043_complex_assignment.rast +++ b/crates/ra_syntax/test_data/parser/ok/0043_complex_assignment.rast | |||
@@ -1,7 +1,7 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | [email protected] "// https://github.com ..." | 2 | [email protected] "// https://github.com ..." |
3 | [email protected] "\n\n" | 3 | [email protected] "\n\n" |
4 | STRUCT_DEF@62..90 | 4 | [email protected] |
5 | [email protected] "struct" | 5 | [email protected] "struct" |
6 | [email protected] " " | 6 | [email protected] " " |
7 | [email protected] | 7 | [email protected] |