a782aed439
This adds an AsyncModifier class that holds both the AsyncMarker, used in the kernel encoding, and the file offset of the async modifier. This is used throughout the front end and ensures that the correct offset is used for errors reported on the async modifier. Change-Id: If16d293ffb9b2e8fa8eca8c65f7548d920c5d56b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/500720 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Kallen Tu <kallentu@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>