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

Unified Diff: pkg/analyzer/lib/src/summary/summarize_ast.dart

Issue 2753923003: Format all analyzer packages
Patch Set: Format all analyzer packages Created 3 years, 9 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/analyzer/lib/src/summary/package_bundle_reader.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/summarize_ast.dart
diff --git a/pkg/analyzer/lib/src/summary/summarize_ast.dart b/pkg/analyzer/lib/src/summary/summarize_ast.dart
index 0d5106f3350c81e2304505a35ce73500de974e37..138ab6c68c72f2ddfb60fb16287deda3d9b03456 100644
--- a/pkg/analyzer/lib/src/summary/summarize_ast.dart
+++ b/pkg/analyzer/lib/src/summary/summarize_ast.dart
@@ -1108,7 +1108,8 @@ class _SummarizeAstVisitor extends RecursiveAstVisitor {
b.isConst = true;
b.constCycleSlot = assignSlot();
}
- b.isExternal = node.externalKeyword != null || node.body is NativeFunctionBody;
+ b.isExternal =
+ node.externalKeyword != null || node.body is NativeFunctionBody;
b.documentationComment = serializeDocumentation(node.documentationComment);
b.annotations = serializeAnnotations(node.metadata);
b.codeRange = serializeCodeRange(node);
@@ -1230,7 +1231,8 @@ class _SummarizeAstVisitor extends RecursiveAstVisitor {
node.documentationComment,
node.metadata,
node.functionExpression.typeParameters,
- node.externalKeyword != null || node.functionExpression.body is NativeFunctionBody,
+ node.externalKeyword != null ||
+ node.functionExpression.body is NativeFunctionBody,
false,
node.parent is FunctionDeclarationStatement));
}
« no previous file with comments | « pkg/analyzer/lib/src/summary/package_bundle_reader.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698