8600df906e
This will allow diagnostic reporting code in the analyzer to be more easily converted to the new literate diagnostic reporting API, because it will make it possible to use `SourceRange` as the common denominator for situations where the location where a diagnostic needs to be reported might come from either a `SyntacticEntity` or a `SourceRange`. Change-Id: I6a6a6964f3ec2ea33e8900d93b5abe714c9e1dcc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/467682 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Paul Berry <paulberry@google.com>