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

Unified Diff: pkg/analysis_server/lib/utilities/change_builder_dart.dart

Issue 1310263003: Reformat code to minimize churn (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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_server/lib/utilities/change_builder_dart.dart
diff --git a/pkg/analysis_server/lib/utilities/change_builder_dart.dart b/pkg/analysis_server/lib/utilities/change_builder_dart.dart
index b81b22a96a226bfae799f602e312714f5458d405..74ca528d5b838469e0bb2b398c21d444085995fa 100644
--- a/pkg/analysis_server/lib/utilities/change_builder_dart.dart
+++ b/pkg/analysis_server/lib/utilities/change_builder_dart.dart
@@ -56,9 +56,13 @@ abstract class DartEditBuilder extends EditBuilder {
* list of [mixins] is provided but no [superclass] is given then the class
* will extend `Object`.)
*/
- void writeClassDeclaration(String name, {Iterable<DartType> interfaces,
- bool isAbstract: false, void memberWriter(), Iterable<DartType> mixins,
- String nameGroupName, DartType superclass});
+ void writeClassDeclaration(String name,
+ {Iterable<DartType> interfaces,
+ bool isAbstract: false,
+ void memberWriter(),
+ Iterable<DartType> mixins,
+ String nameGroupName,
+ DartType superclass});
/**
* Write the code for a declaration of a field with the given [name]. If an
@@ -76,9 +80,14 @@ abstract class DartEditBuilder extends EditBuilder {
* required.) If a [typeGroupName] is provided, then if a type was written
* it will be in the linked edit group with that name.
*/
- void writeFieldDeclaration(String name, {void initializerWriter(),
- bool isConst: false, bool isFinal: false, bool isStatic: false,
- String nameGroupName, DartType type, String typeGroupName});
+ void writeFieldDeclaration(String name,
+ {void initializerWriter(),
+ bool isConst: false,
+ bool isFinal: false,
+ bool isStatic: false,
+ String nameGroupName,
+ DartType type,
+ String typeGroupName});
/**
* Write the code for a declaration of a getter with the given [name]. If a
@@ -91,8 +100,11 @@ abstract class DartEditBuilder extends EditBuilder {
* getter. If a [returnTypeGroupName] is provided, then if a return type was
* written it will be in the linked edit group with that name.
*/
- void writeGetterDeclaration(String name, {void bodyWriter(),
- bool isStatic: false, String nameGroupName, DartType returnType,
+ void writeGetterDeclaration(String name,
+ {void bodyWriter(),
+ bool isStatic: false,
+ String nameGroupName,
+ DartType returnType,
String returnTypeGroupName});
/**
@@ -130,8 +142,10 @@ abstract class DartEditBuilder extends EditBuilder {
* `true`, then all of the supertypes of the [type] will be added as
* suggestions for alternatives to the type name.
*/
- bool writeType(DartType type, {bool addSupertypeProposals: false,
- String groupName, bool required: false});
+ bool writeType(DartType type,
+ {bool addSupertypeProposals: false,
+ String groupName,
+ bool required: false});
}
/**
« no previous file with comments | « pkg/analysis_server/lib/src/utilities/change_builder_dart.dart ('k') | pkg/analysis_server/test/completion_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698