0706afa1ef
Work towards https://github.com/dart-lang/sdk/issues/61496 This adds some "debug information" types and a method on AnalysisOptionsImpl, so that the data can be shared into different debug systems. Another one I'd like to implement is a command-line view, as per https://github.com/dart-lang/sdk/issues/61496. There is much code shared between the Contexts page and the Analysis options page, so that goes into diagnostics.dart. Change-Id: I054bd19ed2ca54c4b3d7d6898eba3a968c8ca209 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/497320 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>