Commit 753ec34
[cfe] Create SourceConstructorBuilder from ConstructorDeclaration
This is a step toward supporting synthetic declaration to be created
together with fragment-based declarations.
A ConstructorReferences object is added to split the references for
constructors and their tear-off from the creation of the AST nodes,
enabling moving the creation of AST nodes for constructors to
buildOutlineNodes.
Change-Id: I0af9a6a51107092026c2dfd2031093f74c02e101
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/435122
Reviewed-by: Chloe Stefantsova <[email protected]>
Commit-Queue: Johnni Winther <[email protected]>1 parent b2c7d08 commit 753ec34
File tree
19 files changed
+579
-627
lines changed- pkg/front_end
- lib/src
- builder
- dill
- fragment
- constructor
- factory
- getter
- kernel
- source
- testcases/dart2js
- test
19 files changed
+579
-627
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
336 | 337 | | |
337 | 338 | | |
338 | 339 | | |
| 340 | + | |
| 341 | + | |
339 | 342 | | |
340 | 343 | | |
341 | 344 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
340 | 339 | | |
341 | 340 | | |
342 | 341 | | |
| |||
0 commit comments