9618bd7e6d
I removed factory methods that are already unused, and update other. Ideally we should use Token(s) in AstBuilder as well, but it was too complicated right now, so I will try doing this later. Change-Id: I2dcfa0b419818ba551401cd08b7c496ebb90c840 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/259641 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com>