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

Unified Diff: pkg/analysis_server/lib/src/search/search_domain.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/search/search_domain.dart
diff --git a/pkg/analysis_server/lib/src/search/search_domain.dart b/pkg/analysis_server/lib/src/search/search_domain.dart
index c663d18de3aeb405fc5fe72790d38f75cc2687ab..7fba8d8a82bc6dec0fe364884060366ea305f4a3 100644
--- a/pkg/analysis_server/lib/src/search/search_domain.dart
+++ b/pkg/analysis_server/lib/src/search/search_domain.dart
@@ -14,7 +14,6 @@ import 'package:analysis_server/src/search/type_hierarchy.dart';
import 'package:analysis_server/src/services/search/search_engine.dart';
import 'package:analyzer/src/generated/element.dart';
-
/**
* Instances of the class [SearchDomainHandler] implement a [RequestHandler]
* that handles requests in the search domain.
@@ -88,8 +87,7 @@ class SearchDomainHandler implements protocol.RequestHandler {
// respond
String searchId = (_nextSearchId++).toString();
_sendSearchResult(
- request,
- new protocol.SearchFindMemberDeclarationsResult(searchId));
+ request, new protocol.SearchFindMemberDeclarationsResult(searchId));
// search
List<SearchMatch> matches =
await searchEngine.searchMemberDeclarations(params.name);
@@ -103,8 +101,7 @@ class SearchDomainHandler implements protocol.RequestHandler {
// respond
String searchId = (_nextSearchId++).toString();
_sendSearchResult(
- request,
- new protocol.SearchFindMemberReferencesResult(searchId));
+ request, new protocol.SearchFindMemberReferencesResult(searchId));
// search
List<SearchMatch> matches =
await searchEngine.searchMemberReferences(params.name);
@@ -118,8 +115,7 @@ class SearchDomainHandler implements protocol.RequestHandler {
// respond
String searchId = (_nextSearchId++).toString();
_sendSearchResult(
- request,
- new protocol.SearchFindTopLevelDeclarationsResult(searchId));
+ request, new protocol.SearchFindTopLevelDeclarationsResult(searchId));
// search
List<SearchMatch> matches =
await searchEngine.searchTopLevelDeclarations(params.pattern);
@@ -179,13 +175,11 @@ class SearchDomainHandler implements protocol.RequestHandler {
return null;
}
- void _sendSearchNotification(String searchId, bool isLast,
- Iterable<protocol.SearchResult> results) {
+ void _sendSearchNotification(
+ String searchId, bool isLast, Iterable<protocol.SearchResult> results) {
server.sendNotification(
- new protocol.SearchResultsParams(
- searchId,
- results.toList(),
- isLast).toNotification());
+ new protocol.SearchResultsParams(searchId, results.toList(), isLast)
+ .toNotification());
}
/**
« no previous file with comments | « pkg/analysis_server/lib/src/search/element_references.dart ('k') | pkg/analysis_server/lib/src/search/type_hierarchy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698