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

Unified Diff: pkg/analysis_server/tool/spec/implied_types.dart

Issue 969113002: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
« no previous file with comments | « pkg/analysis_server/tool/spec/html_tools.dart ('k') | pkg/analysis_server/tool/spec/to_html.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/implied_types.dart
diff --git a/pkg/analysis_server/tool/spec/implied_types.dart b/pkg/analysis_server/tool/spec/implied_types.dart
index b3ab8c6937f852f764f7867b89c7fc55272e59ff..8f252966e3a2e396dbacf9c7014458b5a31a8f81 100644
--- a/pkg/analysis_server/tool/spec/implied_types.dart
+++ b/pkg/analysis_server/tool/spec/implied_types.dart
@@ -61,55 +61,30 @@ class _ImpliedTypesVisitor extends HierarchicalApiVisitor {
@override
visitNotification(Notification notification) {
- storeType(
- notification.longEvent,
- 'params',
- notification.params,
- 'notificationParams',
- notification);
+ storeType(notification.longEvent, 'params', notification.params,
+ 'notificationParams', notification);
}
@override
visitRefactoring(Refactoring refactoring) {
String camelKind = camelJoin(refactoring.kind.toLowerCase().split('_'));
- storeType(
- camelKind,
- 'feedback',
- refactoring.feedback,
- 'refactoringFeedback',
- refactoring);
- storeType(
- camelKind,
- 'options',
- refactoring.options,
- 'refactoringOptions',
+ storeType(camelKind, 'feedback', refactoring.feedback,
+ 'refactoringFeedback', refactoring);
+ storeType(camelKind, 'options', refactoring.options, 'refactoringOptions',
refactoring);
}
@override
visitRequest(Request request) {
storeType(
- request.longMethod,
- 'params',
- request.params,
- 'requestParams',
- request);
+ request.longMethod, 'params', request.params, 'requestParams', request);
storeType(
- request.longMethod,
- 'result',
- request.result,
- 'requestResult',
- request);
+ request.longMethod, 'result', request.result, 'requestResult', request);
}
@override
visitTypeDefinition(TypeDefinition typeDefinition) {
- storeType(
- typeDefinition.name,
- null,
- typeDefinition.type,
- 'typeDefinition',
+ storeType(typeDefinition.name, null, typeDefinition.type, 'typeDefinition',
typeDefinition);
}
-
}
« no previous file with comments | « pkg/analysis_server/tool/spec/html_tools.dart ('k') | pkg/analysis_server/tool/spec/to_html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698