91e682940c
NodeLocator and NodeLocator2 are being deprecated in favor of this extension method. We move it to the public API here and start using it in the analysis_server_plugin package. Change-Id: I4783bb1f511b798e52b3383dd600b154dccc6d5b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/420420 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>