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

Unified Diff: pkg/analysis_server/lib/src/services/search/element_visitors.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
Index: pkg/analysis_server/lib/src/services/search/element_visitors.dart
diff --git a/pkg/analysis_server/lib/src/services/search/element_visitors.dart b/pkg/analysis_server/lib/src/services/search/element_visitors.dart
index 6490caede534c042a1aabd9c5bf88286c6ae6d2c..d7338d0595f335dc73e7a06c25d7a2ab062a5aa8 100644
--- a/pkg/analysis_server/lib/src/services/search/element_visitors.dart
+++ b/pkg/analysis_server/lib/src/services/search/element_visitors.dart
@@ -6,7 +6,6 @@ library services.search.element_visitors;
import 'package:analyzer/src/generated/element.dart';
-
/**
* Uses [processor] to visit all of the children of [element].
* If [processor] returns `true`, then children of a child are visited too.
@@ -15,23 +14,20 @@ void visitChildren(Element element, ElementProcessor processor) {
element.visitChildren(new _ElementVisitorAdapter(processor));
}
-
/**
* Uses [processor] to visit all of the top-level elements of [library].
*/
-void visitLibraryTopLevelElements(LibraryElement library,
- ElementProcessor processor) {
+void visitLibraryTopLevelElements(
+ LibraryElement library, ElementProcessor processor) {
library.visitChildren(new _TopLevelElementsVisitor(processor));
}
-
/**
* An [Element] processor function type.
* If `true` is returned, children of [element] will be visited.
*/
typedef bool ElementProcessor(Element element);
-
/**
* A [GeneralizingElementVisitor] adapter for [ElementProcessor].
*/
@@ -49,7 +45,6 @@ class _ElementVisitorAdapter extends GeneralizingElementVisitor {
}
}
-
/**
* A [GeneralizingElementVisitor] for visiting top-level elements.
*/

Powered by Google App Engine
This is Rietveld 408576698