Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Unified Diff: pkg/analyzer/lib/src/lint/linter.dart

Issue 2711763005: Rename one AnalysisDriver to LintDriver (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/lint/analysis.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/lint/linter.dart
diff --git a/pkg/analyzer/lib/src/lint/linter.dart b/pkg/analyzer/lib/src/lint/linter.dart
index 5706f35ea8d26f8d5198b2c6bea474b33e6a6250..67bae7e38efa0ce096212db326f7a1bab7077791 100644
--- a/pkg/analyzer/lib/src/lint/linter.dart
+++ b/pkg/analyzer/lib/src/lint/linter.dart
@@ -62,7 +62,7 @@ class DartLinter implements AnalysisErrorListener {
Iterable<AnalysisErrorInfo> lintFiles(List<File> files) {
List<AnalysisErrorInfo> errors = [];
- var analysisDriver = new AnalysisDriver(options);
+ var analysisDriver = new LintDriver(options);
errors.addAll(analysisDriver.analyze(files.where((f) => isDartFile(f))));
numSourcesAnalyzed = analysisDriver.numSourcesAnalyzed;
files.where((f) => isPubspecFile(f)).forEach((p) {
@@ -363,7 +363,7 @@ class SourceLinter implements DartLinter, AnalysisErrorListener {
@override
Iterable<AnalysisErrorInfo> lintFiles(List<File> files) {
List<AnalysisErrorInfo> errors = [];
- var analysisDriver = new AnalysisDriver(options);
+ var analysisDriver = new LintDriver(options);
errors.addAll(analysisDriver.analyze(files.where((f) => isDartFile(f))));
numSourcesAnalyzed = analysisDriver.numSourcesAnalyzed;
files.where((f) => isPubspecFile(f)).forEach((p) {
« no previous file with comments | « pkg/analyzer/lib/src/lint/analysis.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698