Refactors to allow for parse only mode for lints and fixes.

- Make CorrectionProducer as base class for {Parsed/Resolved}CorrectionProducer.
- Use ParsedCorrectionProducer for ConvertDocumentationIntoLine
- Move sort imports test to used ParsedUnitResult
- Add getter to LintRule to indicate that rule can be run using just parsed AST

Change-Id: Id11466c445e6e505ea752d097b57143f18c47060
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/310484
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Keerti Parthasarathy <keertip@google.com>

https://dart.googlesource.com/sdk/+/ab884b7d7f31657ba4ff7de2c4dc1485cb3b62e8
1 file changed
tree: 75af044b3ccc4adcebd0943fdab027a990614609
  1. commits.json