Commit 1a8334d
[analyzer] Make logic for interpreting messages.yaml file sharable with CFE.
Moves the following top level declarations, as well as other
declarations they depend on, from
`pkg/analyzer/tool/messages/error_code_info.dart` into
`package:analyzer_utilities`, so that they can be imported by the CFE's
diagnostic code generator:
- `frontEndMessages`
- `placeholderPattern`
- `FrontEndErrorCodeInfo`
There is no functional change.
In a follow-up CL, I will modify
`pkg/front_end/tool/generate_messages_lib.dart` to use these
declarations.
Change-Id: I6a6a69642230f0b943ccaf800c1f9e569c5b7579
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/447982
Reviewed-by: Brian Wilkerson <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Paul Berry <[email protected]>1 parent 365d1ac commit 1a8334d
File tree
8 files changed
+671
-654
lines changed- pkg
- analyzer_utilities
- lib
- analyzer
- test
- src/fasta
- tool/messages
- linter/tool
8 files changed
+671
-654
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments