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

Unified Diff: pkg/front_end/lib/src/fasta/builder/type_declaration_builder.dart

Issue 2718113003: Run dartfmt on pkg/front_end/lib. (Closed)
Patch Set: Rerun after merging. Created 3 years, 10 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/front_end/lib/src/fasta/builder/type_declaration_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/type_declaration_builder.dart b/pkg/front_end/lib/src/fasta/builder/type_declaration_builder.dart
index 901b29c4ee2516f1b5c981cec6cb09c28807e92e..2b14e59be673799a15ae4f56dd4cbcd401bf6a03 100644
--- a/pkg/front_end/lib/src/fasta/builder/type_declaration_builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/type_declaration_builder.dart
@@ -4,14 +4,10 @@
library fasta.type_declaration_builder;
-import 'builder.dart' show
- Builder,
- MetadataBuilder,
- ModifierBuilder,
- TypeBuilder;
+import 'builder.dart'
+ show Builder, MetadataBuilder, ModifierBuilder, TypeBuilder;
-import '../util/relativize.dart' show
- relativizeUri;
+import '../util/relativize.dart' show relativizeUri;
abstract class TypeDeclarationBuilder<T extends TypeBuilder, R>
extends ModifierBuilder {
@@ -26,13 +22,13 @@ abstract class TypeDeclarationBuilder<T extends TypeBuilder, R>
final Uri fileUri;
final String relativeFileUri;
- TypeDeclarationBuilder(this.metadata, this.modifiers, this.name,
- Builder parent, int charOffset, [Uri fileUri])
- : fileUri = fileUri ?? parent?.fileUri,
- relativeFileUri = fileUri != null
- ? relativizeUri(fileUri)
- : parent?.relativeFileUri,
- super(parent, charOffset, fileUri ?? parent?.fileUri);
+ TypeDeclarationBuilder(
+ this.metadata, this.modifiers, this.name, Builder parent, int charOffset,
+ [Uri fileUri])
+ : fileUri = fileUri ?? parent?.fileUri,
+ relativeFileUri =
+ fileUri != null ? relativizeUri(fileUri) : parent?.relativeFileUri,
+ super(parent, charOffset, fileUri ?? parent?.fileUri);
bool get isTypeDeclaration => true;
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/type_builder.dart ('k') | pkg/front_end/lib/src/fasta/builder/type_variable_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698