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

Side by Side Diff: pkg/analysis_server/lib/plugin/edit/assist/assist_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.assist.assist_core; 5 library analysis_server.plugin.edit.assist.assist_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/src/generated/engine.dart'; 11 import 'package:analyzer/src/generated/engine.dart';
12 import 'package:analyzer/src/generated/source.dart'; 12 import 'package:analyzer/src/generated/source.dart';
13 13
14 /** 14 /**
15 * A description of a single proposed assist. 15 * A description of a single proposed assist.
16 * 16 *
17 * Clients may not extend, implement or mix-in this class. 17 * Clients may not extend, implement or mix-in this class.
18 */ 18 */
19 class Assist { 19 class Assist {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 /** 117 /**
118 * Initialize a newly created kind of assist to have the given [name], 118 * Initialize a newly created kind of assist to have the given [name],
119 * [relevance] and [message]. 119 * [relevance] and [message].
120 */ 120 */
121 const AssistKind(this.name, this.relevance, this.message); 121 const AssistKind(this.name, this.relevance, this.message);
122 122
123 @override 123 @override
124 String toString() => name; 124 String toString() => name;
125 } 125 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698