Commit 3d215a3
[analyzer] Add some more diagnostic code generation features.
The following features are added:
- The ability to exclude a generated error class from the generated
`diagnosticCodeValues` list.
- The ability for the code generator to add a documentation comment at
the top of the generated error class.
These features are not used yet. In follow-up CLs, I will be switching
some error classes over to code generation, and that will require
these features.
Change-Id: I6a6a696408ac8498ef6cd9a053b3a82005378789
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445280
Reviewed-by: Brian Wilkerson <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Paul Berry <[email protected]>1 parent c1caa5c commit 3d215a3
File tree
2 files changed
+31
-5
lines changed- pkg/analyzer/tool/messages
2 files changed
+31
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
510 | 519 | | |
511 | 520 | | |
512 | 521 | | |
| |||
516 | 525 | | |
517 | 526 | | |
518 | 527 | | |
| 528 | + | |
| 529 | + | |
519 | 530 | | |
520 | 531 | | |
521 | 532 | | |
| |||
868 | 879 | | |
869 | 880 | | |
870 | 881 | | |
| 882 | + | |
| 883 | + | |
871 | 884 | | |
872 | 885 | | |
873 | 886 | | |
874 | 887 | | |
| 888 | + | |
875 | 889 | | |
876 | 890 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 90 | | |
95 | 91 | | |
96 | 92 | | |
97 | 93 | | |
98 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
| |||
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
135 | 145 | | |
136 | 146 | | |
137 | 147 | | |
| |||
155 | 165 | | |
156 | 166 | | |
157 | 167 | | |
158 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
159 | 171 | | |
160 | 172 | | |
161 | 173 | | |
| |||
0 commit comments