a765ffc540
This adds support for generating the merged augmentation library in the CFE. In order to get the right file offsets in the generated AST the MacroExecutor.buildArgumentationLibrary function is extended to compute a list of spans the describe what each segment of the generated source code contains. These spans are used to compute the offset relation between the intermediate augmentation libraries and the merged augmentation libraries. Change-Id: Ie5b9c23130da67ac874fb824b82827bfd6b88880 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/349864 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jens Johansen <jensj@google.com> Reviewed-by: Jake Macdonald <jakemac@google.com>