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

Unified Diff: pkg/analysis_services/lib/src/correction/statement_analyzer.dart

Issue 458063002: Initial work on refactorings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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
Index: pkg/analysis_services/lib/src/correction/statement_analyzer.dart
diff --git a/pkg/analysis_services/lib/src/correction/statement_analyzer.dart b/pkg/analysis_services/lib/src/correction/statement_analyzer.dart
index 0230d1cf85a75aeefcce213fb39ac106d56a3c9d..a84559fa44ad40d49bdc4dff007826f843d924b6 100644
--- a/pkg/analysis_services/lib/src/correction/statement_analyzer.dart
+++ b/pkg/analysis_services/lib/src/correction/statement_analyzer.dart
@@ -7,6 +7,7 @@
library services.src.correction.statement_analyzer;
+import 'package:analysis_services/correction/status.dart';
import 'package:analysis_services/src/correction/selection_analyzer.dart';
import 'package:analysis_services/src/correction/source_range.dart';
import 'package:analysis_services/src/correction/util.dart';
@@ -35,23 +36,6 @@ List<Token> _getTokens(String text) {
}
}
-/**
- * TODO(scheglov) port the real class
- */
-class RefactoringStatus {
- bool get hasFatalError => false;
-
- void addFatalError(String message, RefactoringStatusContext context) {
- }
-}
-
-/**
- * TODO(scheglov) port the real class
- */
-class RefactoringStatusContext {
- RefactoringStatusContext.forUnit(CompilationUnit unit, SourceRange range);
-}
-
/**
* Analyzer to check if a selection covers a valid set of statements of AST.

Powered by Google App Engine
This is Rietveld 408576698