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

Side by Side Diff: pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart

Issue 2844273003: Unify the server and plugin versions of the generators (Closed)
Patch Set: add missed files Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analysis_server.plugin.edit.fix.fix_core; 5 library analysis_server.plugin.edit.fix.fix_core;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/plugin/protocol/protocol.dart' 9 import 'package:analysis_server/protocol/protocol_generated.dart'
10 show SourceChange; 10 show SourceChange;
11 import 'package:analyzer/error/error.dart'; 11 import 'package:analyzer/error/error.dart';
12 import 'package:analyzer/file_system/file_system.dart'; 12 import 'package:analyzer/file_system/file_system.dart';
13 import 'package:analyzer/src/generated/engine.dart'; 13 import 'package:analyzer/src/generated/engine.dart';
14 14
15 /** 15 /**
16 * A description of a single proposed fix for some problem. 16 * A description of a single proposed fix for some problem.
17 * 17 *
18 * Clients may not extend, implement or mix-in this class. 18 * Clients may not extend, implement or mix-in this class.
19 */ 19 */
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 /** 118 /**
119 * Initialize a newly created kind of fix to have the given [name], 119 * Initialize a newly created kind of fix to have the given [name],
120 * [relevance] and [message]. 120 * [relevance] and [message].
121 */ 121 */
122 const FixKind(this.name, this.relevance, this.message); 122 const FixKind(this.name, this.relevance, this.message);
123 123
124 @override 124 @override
125 String toString() => name; 125 String toString() => name;
126 } 126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698