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

Unified Diff: pkg/analysis_server/lib/src/services/index/index_store.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/index/index_store.dart
diff --git a/pkg/analysis_server/lib/src/services/index/index_store.dart b/pkg/analysis_server/lib/src/services/index/index_store.dart
index 58f543aa5e10d8d4687cd6de020619b1a10e22b3..72771dd14c18c973fe1480361e2955561040e7af 100644
--- a/pkg/analysis_server/lib/src/services/index/index_store.dart
+++ b/pkg/analysis_server/lib/src/services/index/index_store.dart
@@ -11,7 +11,6 @@ import 'package:analyzer/src/generated/element.dart';
import 'package:analyzer/src/generated/engine.dart';
import 'package:analyzer/src/generated/source.dart';
-
/**
* A container with information computed by an index - relations between
* elements.
@@ -38,8 +37,8 @@ abstract class IndexStore {
* Returns `true` if the given [unitElement] may be indexed, or `false` if
* belongs to a disposed [AnalysisContext], is not resolved completely, etc.
*/
- bool aboutToIndexDart(AnalysisContext context,
- CompilationUnitElement unitElement);
+ bool aboutToIndexDart(
+ AnalysisContext context, CompilationUnitElement unitElement);
/**
* Notifies the index store that we are going to index an unit with the given
@@ -80,8 +79,8 @@ abstract class IndexStore {
* [relationship] - the [Relationship] between the given element and the
* locations to be returned
*/
- Future<List<Location>> getRelationships(Element element,
- Relationship relationship);
+ Future<List<Location>> getRelationships(
+ Element element, Relationship relationship);
/**
* Returns top-level [Element]s whose names satisfy to [nameFilter].
@@ -111,8 +110,8 @@ abstract class IndexStore {
* [relationship] - the [Relationship] between the element and the location.
* [location] the [Location] where relationship happens.
*/
- void recordRelationship(Element element, Relationship relationship,
- Location location);
+ void recordRelationship(
+ Element element, Relationship relationship, Location location);
/**
* Records the declaration of the given top-level [element].

Powered by Google App Engine
This is Rietveld 408576698