1683fd5c16
This passes the first token of these top level declaration directly to the endX listener method. In the CFE this is used to ensure that can handle the new modifiers in the textual outline. Furthermore, support for extension types is added and having an "unknown chunk" now results in an error. The latter should help us keep the textual outline up-to-date wrt new features. Change-Id: I813d6162b6cba0a2bf550ed33a6091abf9bf49f8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/324702 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Jens Johansen <jensj@google.com>