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

Unified Diff: pkg/analysis_services/lib/src/refactoring/refactoring.dart

Issue 458063002: Initial work on refactorings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments 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/refactoring/refactoring.dart
diff --git a/pkg/analysis_services/lib/src/refactoring/refactoring.dart b/pkg/analysis_services/lib/src/refactoring/refactoring.dart
new file mode 100644
index 0000000000000000000000000000000000000000..d65761f330bd6da30690a30d174dbd742cccd2e5
--- /dev/null
+++ b/pkg/analysis_services/lib/src/refactoring/refactoring.dart
@@ -0,0 +1,27 @@
+// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// This code was auto-generated, is not intended to be edited, and is subject to
+// significant change. Please see the README file for more information.
+
+library services.src.refactoring;
+
+import 'package:analysis_services/correction/status.dart';
+import 'package:analysis_services/refactoring/refactoring.dart';
+
+
+/**
+ * Abstract implementation of {@link Refactoring}.
+ */
+abstract class RefactoringImpl implements Refactoring {
+ @override
+ RefactoringStatus checkAllConditions() {
+ RefactoringStatus result = new RefactoringStatus();
+ result.addStatus(checkInitialConditions());
+ if (!result.hasFatalError) {
+ result.addStatus(checkFinalConditions());
+ }
+ return result;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698