Commit ba9ef09
[analyzer] Switch more types to "Impl" types.
Field types, getter types, method return types, and method parameter
types are changed to `Impl` types in the following classes and
extensions:
- `CompoundAssignmentExpressionImpl`
- `ExecutableElementExtensionQuestion`
- `ExtensionElementImpl`
- `ExtensionResolutionError`
- `FunctionReferenceResolver`
- `InstanceElementImpl2`
- `InstantiatedExtensionWithMember`
- `InstantiatedExtensionWithMember2`
- `InterfaceElementImpl`
- `InvocationInferrer`
- `LexicalLookupResult`
- `LocalVariableTypeProvider`
- `PostfixExpressionResolver`
- `PropertyElementResolverResult`
- `RecordTypeExtension`
- `ResolutionResult`
- `ResolverVisitor`
- `SimpleResolutionResult`
- `TypePropertyResolver`
There is no change to the analyzer public API.
This is part of a larger arc of work to change the analyzer's use of
the shared code so that the type parameters it supplies are not part
of the analyzer public API. See
#59763.
Change-Id: I5d0d432301df38c7a5ccc7c65767cf73ce7b5d7d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405801
Commit-Queue: Paul Berry <[email protected]>
Auto-Submit: Paul Berry <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>1 parent 4c3e7ab commit ba9ef09
File tree
20 files changed
+180
-136
lines changed- pkg/analyzer/lib/src
- dart
- ast
- element
- resolver
- generated
- utilities/extensions
20 files changed
+180
-136
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3691 | 3691 | | |
3692 | 3692 | | |
3693 | 3693 | | |
3694 | | - | |
| 3694 | + | |
3695 | 3695 | | |
3696 | 3696 | | |
3697 | | - | |
| 3697 | + | |
3698 | 3698 | | |
3699 | 3699 | | |
3700 | 3700 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1717 | 1717 | | |
1718 | 1718 | | |
1719 | 1719 | | |
1720 | | - | |
| 1720 | + | |
1721 | 1721 | | |
1722 | 1722 | | |
1723 | 1723 | | |
| |||
3721 | 3721 | | |
3722 | 3722 | | |
3723 | 3723 | | |
| 3724 | + | |
| 3725 | + | |
| 3726 | + | |
| 3727 | + | |
| 3728 | + | |
| 3729 | + | |
| 3730 | + | |
| 3731 | + | |
| 3732 | + | |
| 3733 | + | |
3724 | 3734 | | |
3725 | 3735 | | |
3726 | 3736 | | |
| |||
3917 | 3927 | | |
3918 | 3928 | | |
3919 | 3929 | | |
3920 | | - | |
| 3930 | + | |
3921 | 3931 | | |
3922 | 3932 | | |
3923 | 3933 | | |
| |||
4001 | 4011 | | |
4002 | 4012 | | |
4003 | 4013 | | |
4004 | | - | |
| 4014 | + | |
4005 | 4015 | | |
4006 | 4016 | | |
4007 | 4017 | | |
| |||
4245 | 4255 | | |
4246 | 4256 | | |
4247 | 4257 | | |
4248 | | - | |
| 4258 | + | |
4249 | 4259 | | |
4250 | 4260 | | |
4251 | 4261 | | |
| |||
4448 | 4458 | | |
4449 | 4459 | | |
4450 | 4460 | | |
| 4461 | + | |
| 4462 | + | |
| 4463 | + | |
| 4464 | + | |
| 4465 | + | |
| 4466 | + | |
| 4467 | + | |
4451 | 4468 | | |
4452 | 4469 | | |
4453 | 4470 | | |
| |||
5136 | 5153 | | |
5137 | 5154 | | |
5138 | 5155 | | |
5139 | | - | |
| 5156 | + | |
5140 | 5157 | | |
5141 | 5158 | | |
5142 | 5159 | | |
| |||
5718 | 5735 | | |
5719 | 5736 | | |
5720 | 5737 | | |
5721 | | - | |
| 5738 | + | |
5722 | 5739 | | |
5723 | 5740 | | |
5724 | 5741 | | |
| |||
5833 | 5850 | | |
5834 | 5851 | | |
5835 | 5852 | | |
5836 | | - | |
| 5853 | + | |
5837 | 5854 | | |
5838 | 5855 | | |
5839 | 5856 | | |
| |||
6279 | 6296 | | |
6280 | 6297 | | |
6281 | 6298 | | |
6282 | | - | |
| 6299 | + | |
6283 | 6300 | | |
6284 | 6301 | | |
6285 | 6302 | | |
6286 | 6303 | | |
6287 | 6304 | | |
6288 | | - | |
| 6305 | + | |
6289 | 6306 | | |
6290 | 6307 | | |
6291 | 6308 | | |
| |||
6398 | 6415 | | |
6399 | 6416 | | |
6400 | 6417 | | |
6401 | | - | |
| 6418 | + | |
6402 | 6419 | | |
6403 | 6420 | | |
6404 | 6421 | | |
| |||
6409 | 6426 | | |
6410 | 6427 | | |
6411 | 6428 | | |
6412 | | - | |
| 6429 | + | |
| 6430 | + | |
6413 | 6431 | | |
6414 | 6432 | | |
6415 | 6433 | | |
| |||
6443 | 6461 | | |
6444 | 6462 | | |
6445 | 6463 | | |
6446 | | - | |
| 6464 | + | |
6447 | 6465 | | |
6448 | 6466 | | |
6449 | | - | |
| 6467 | + | |
6450 | 6468 | | |
6451 | 6469 | | |
6452 | 6470 | | |
6453 | 6471 | | |
6454 | 6472 | | |
6455 | | - | |
| 6473 | + | |
6456 | 6474 | | |
6457 | 6475 | | |
6458 | 6476 | | |
| |||
6473 | 6491 | | |
6474 | 6492 | | |
6475 | 6493 | | |
6476 | | - | |
| 6494 | + | |
| 6495 | + | |
6477 | 6496 | | |
6478 | | - | |
| 6497 | + | |
6479 | 6498 | | |
6480 | 6499 | | |
6481 | 6500 | | |
6482 | 6501 | | |
6483 | 6502 | | |
6484 | | - | |
| 6503 | + | |
6485 | 6504 | | |
6486 | 6505 | | |
6487 | 6506 | | |
| |||
7734 | 7753 | | |
7735 | 7754 | | |
7736 | 7755 | | |
7737 | | - | |
| 7756 | + | |
7738 | 7757 | | |
7739 | 7758 | | |
7740 | | - | |
| 7759 | + | |
7741 | 7760 | | |
7742 | 7761 | | |
7743 | 7762 | | |
| |||
8296 | 8315 | | |
8297 | 8316 | | |
8298 | 8317 | | |
8299 | | - | |
8300 | | - | |
8301 | | - | |
8302 | | - | |
| 8318 | + | |
| 8319 | + | |
8303 | 8320 | | |
8304 | 8321 | | |
8305 | 8322 | | |
| |||
9924 | 9941 | | |
9925 | 9942 | | |
9926 | 9943 | | |
| 9944 | + | |
| 9945 | + | |
| 9946 | + | |
| 9947 | + | |
| 9948 | + | |
9927 | 9949 | | |
9928 | 9950 | | |
9929 | 9951 | | |
| |||
10123 | 10145 | | |
10124 | 10146 | | |
10125 | 10147 | | |
10126 | | - | |
| 10148 | + | |
10127 | 10149 | | |
10128 | 10150 | | |
10129 | 10151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
181 | | - | |
| 182 | + | |
182 | 183 | | |
183 | | - | |
184 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
| |||
262 | 265 | | |
263 | 266 | | |
264 | 267 | | |
265 | | - | |
| 268 | + | |
266 | 269 | | |
267 | 270 | | |
268 | 271 | | |
269 | | - | |
| 272 | + | |
270 | 273 | | |
271 | 274 | | |
272 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
273 | 278 | | |
274 | 279 | | |
275 | 280 | | |
276 | 281 | | |
277 | 282 | | |
278 | | - | |
| 283 | + | |
279 | 284 | | |
280 | 285 | | |
281 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
282 | 289 | | |
283 | 290 | | |
284 | 291 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
304 | 302 | | |
305 | 303 | | |
306 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
| 510 | + | |
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| |||
1348 | 1348 | | |
1349 | 1349 | | |
1350 | 1350 | | |
1351 | | - | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
1352 | 1354 | | |
1353 | 1355 | | |
1354 | 1356 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
487 | 487 | | |
488 | 488 | | |
489 | | - | |
| 489 | + | |
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| |||
0 commit comments