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

Unified Diff: pkg/kernel/lib/binary/ast_from_binary.dart

Issue 2820323005: Run formatter on a few frontend and kernel files that hadn't been formatted. (Closed)
Patch Set: Run formatter on a few frontend and kernel files that hadn't been formatted. Created 3 years, 8 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
« no previous file with comments | « pkg/front_end/testcases/redirecting_constructor.dart ('k') | pkg/kernel/lib/class_hierarchy.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/binary/ast_from_binary.dart
diff --git a/pkg/kernel/lib/binary/ast_from_binary.dart b/pkg/kernel/lib/binary/ast_from_binary.dart
index f18e53e4e1fc141f953e23218349d2c0721a8e1b..9cbc69d92e7c66b9b81334939efdb0e230740717 100644
--- a/pkg/kernel/lib/binary/ast_from_binary.dart
+++ b/pkg/kernel/lib/binary/ast_from_binary.dart
@@ -368,7 +368,8 @@ class BinaryBuilder {
library.deferredImports.length = length;
for (int i = 0; i < length; ++i) {
library.deferredImports[i] = new DeferredImport.byReference(
- readLibraryReference(), readStringReference())..parent = library;
+ readLibraryReference(), readStringReference())
+ ..parent = library;
}
}
@@ -658,11 +659,9 @@ class BinaryBuilder {
..fileOffset = offset;
case Tag.PropertySet:
int offset = readOffset();
- return new PropertySet.byReference(
- readExpression(),
- readName(),
- readExpression(),
- readMemberReference(allowNull: true))..fileOffset = offset;
+ return new PropertySet.byReference(readExpression(), readName(),
+ readExpression(), readMemberReference(allowNull: true))
+ ..fileOffset = offset;
case Tag.SuperPropertyGet:
addTransformerFlag(TransformerFlag.superCalls);
return new SuperPropertyGet.byReference(
@@ -674,7 +673,8 @@ class BinaryBuilder {
case Tag.DirectPropertyGet:
int offset = readOffset();
return new DirectPropertyGet.byReference(
- readExpression(), readMemberReference())..fileOffset = offset;
+ readExpression(), readMemberReference())
+ ..fileOffset = offset;
case Tag.DirectPropertySet:
int offset = readOffset();
return new DirectPropertySet.byReference(
@@ -687,14 +687,13 @@ class BinaryBuilder {
case Tag.StaticSet:
int offset = readOffset();
return new StaticSet.byReference(
- readMemberReference(), readExpression())..fileOffset = offset;
+ readMemberReference(), readExpression())
+ ..fileOffset = offset;
case Tag.MethodInvocation:
int offset = readOffset();
- return new MethodInvocation.byReference(
- readExpression(),
- readName(),
- readArguments(),
- readMemberReference(allowNull: true))..fileOffset = offset;
+ return new MethodInvocation.byReference(readExpression(), readName(),
+ readArguments(), readMemberReference(allowNull: true))
+ ..fileOffset = offset;
case Tag.SuperMethodInvocation:
int offset = readOffset();
addTransformerFlag(TransformerFlag.superCalls);
@@ -707,22 +706,26 @@ class BinaryBuilder {
case Tag.StaticInvocation:
int offset = readOffset();
return new StaticInvocation.byReference(
- readMemberReference(), readArguments(), isConst: false)
+ readMemberReference(), readArguments(),
+ isConst: false)
..fileOffset = offset;
case Tag.ConstStaticInvocation:
int offset = readOffset();
return new StaticInvocation.byReference(
- readMemberReference(), readArguments(), isConst: true)
+ readMemberReference(), readArguments(),
+ isConst: true)
..fileOffset = offset;
case Tag.ConstructorInvocation:
int offset = readOffset();
return new ConstructorInvocation.byReference(
- readMemberReference(), readArguments(), isConst: false)
+ readMemberReference(), readArguments(),
+ isConst: false)
..fileOffset = offset;
case Tag.ConstConstructorInvocation:
int offset = readOffset();
return new ConstructorInvocation.byReference(
- readMemberReference(), readArguments(), isConst: true)
+ readMemberReference(), readArguments(),
+ isConst: true)
..fileOffset = offset;
case Tag.Not:
return new Not(readExpression());
@@ -779,28 +782,28 @@ class BinaryBuilder {
int offset = readOffset();
var typeArgument = readDartType();
return new ListLiteral(readExpressionList(),
- typeArgument: typeArgument, isConst: false)..fileOffset = offset;
+ typeArgument: typeArgument, isConst: false)
+ ..fileOffset = offset;
case Tag.ConstListLiteral:
int offset = readOffset();
var typeArgument = readDartType();
return new ListLiteral(readExpressionList(),
- typeArgument: typeArgument, isConst: true)..fileOffset = offset;
+ typeArgument: typeArgument, isConst: true)
+ ..fileOffset = offset;
case Tag.MapLiteral:
int offset = readOffset();
var keyType = readDartType();
var valueType = readDartType();
return new MapLiteral(readMapEntryList(),
- keyType: keyType,
- valueType: valueType,
- isConst: false)..fileOffset = offset;
+ keyType: keyType, valueType: valueType, isConst: false)
+ ..fileOffset = offset;
case Tag.ConstMapLiteral:
int offset = readOffset();
var keyType = readDartType();
var valueType = readDartType();
return new MapLiteral(readMapEntryList(),
- keyType: keyType,
- valueType: valueType,
- isConst: true)..fileOffset = offset;
+ keyType: keyType, valueType: valueType, isConst: true)
+ ..fileOffset = offset;
case Tag.AwaitExpression:
return new AwaitExpression(readExpression());
case Tag.FunctionExpression:
« no previous file with comments | « pkg/front_end/testcases/redirecting_constructor.dart ('k') | pkg/kernel/lib/class_hierarchy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698