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

Side by Side Diff: pkg/analysis_server/lib/plugin/edit/utilities/change_builder_dart.dart

Issue 1409353002: Clean up wording of client usage expectations (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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.utilities.change_builder_dart; 5 library analysis_server.plugin.edit.utilities.change_builder_dart;
6 6
7 import 'package:analysis_server/plugin/edit/utilities/change_builder_core.dart'; 7 import 'package:analysis_server/plugin/edit/utilities/change_builder_core.dart';
8 import 'package:analysis_server/src/utilities/change_builder_dart.dart'; 8 import 'package:analysis_server/src/utilities/change_builder_dart.dart';
9 import 'package:analyzer/src/generated/ast.dart'; 9 import 'package:analyzer/src/generated/ast.dart';
10 import 'package:analyzer/src/generated/element.dart'; 10 import 'package:analyzer/src/generated/element.dart';
11 import 'package:analyzer/src/generated/engine.dart'; 11 import 'package:analyzer/src/generated/engine.dart';
12 12
13 /** 13 /**
14 * A [ChangeBuilder] used to build changes in Dart files. 14 * A [ChangeBuilder] used to build changes in Dart files.
15 * 15 *
16 * Clients are not expected to subtype this class. 16 * Clients may not extend, implement or mix-in this class.
17 */ 17 */
18 abstract class DartChangeBuilder extends ChangeBuilder { 18 abstract class DartChangeBuilder extends ChangeBuilder {
19 /** 19 /**
20 * Initialize a newly created change builder. 20 * Initialize a newly created change builder.
21 */ 21 */
22 factory DartChangeBuilder(AnalysisContext context) = DartChangeBuilderImpl; 22 factory DartChangeBuilder(AnalysisContext context) = DartChangeBuilderImpl;
23 } 23 }
24 24
25 /** 25 /**
26 * An [EditBuilder] used to build edits in Dart files. 26 * An [EditBuilder] used to build edits in Dart files.
27 * 27 *
28 * Clients are not expected to subtype this class. 28 * Clients may not extend, implement or mix-in this class.
29 */ 29 */
30 abstract class DartEditBuilder extends EditBuilder { 30 abstract class DartEditBuilder extends EditBuilder {
31 /** 31 /**
32 * The group-id used for the name of a declaration. 32 * The group-id used for the name of a declaration.
33 */ 33 */
34 static const String NAME_GROUP_ID = 'NAME'; 34 static const String NAME_GROUP_ID = 'NAME';
35 35
36 /** 36 /**
37 * The group-id used for the return type of a function, getter or method. 37 * The group-id used for the return type of a function, getter or method.
38 */ 38 */
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 */ 144 */
145 bool writeType(DartType type, 145 bool writeType(DartType type,
146 {bool addSupertypeProposals: false, 146 {bool addSupertypeProposals: false,
147 String groupName, 147 String groupName,
148 bool required: false}); 148 bool required: false});
149 } 149 }
150 150
151 /** 151 /**
152 * A [FileEditBuilder] used to build edits for Dart files. 152 * A [FileEditBuilder] used to build edits for Dart files.
153 * 153 *
154 * Clients are not expected to subtype this class. 154 * Clients may not extend, implement or mix-in this class.
155 */ 155 */
156 abstract class DartFileEditBuilder extends FileEditBuilder {} 156 abstract class DartFileEditBuilder extends FileEditBuilder {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698