fe66b2d525
Making this available in analyzer will allow me to de-dup a bunch of similar logic in the linter... Change-Id: Id9991eb3b3a11fed4eff596302beffb814ba86bf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/390580 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>