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

Side by Side Diff: pkg/analysis_server/lib/src/services/search/search_engine.dart

Issue 1527793003: Clean up imports in analysis_server and analyzer_cli (and one missed in analyzer) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library services.search_engine; 5 library services.search_engine;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/src/services/index/index.dart'; 9 import 'package:analysis_server/src/services/index/index.dart';
10 import 'package:analysis_server/src/services/search/search_engine_internal.dart' ; 10 import 'package:analysis_server/src/services/search/search_engine_internal.dart' ;
11 import 'package:analyzer/src/generated/element.dart'; 11 import 'package:analyzer/dart/element/element.dart';
12 import 'package:analyzer/src/generated/java_core.dart'; 12 import 'package:analyzer/src/generated/java_core.dart';
13 import 'package:analyzer/src/generated/source.dart'; 13 import 'package:analyzer/src/generated/source.dart';
14 14
15 /** 15 /**
16 * Returns a new [SearchEngine] instance based on the given [Index]. 16 * Returns a new [SearchEngine] instance based on the given [Index].
17 */ 17 */
18 SearchEngine createSearchEngine(Index index) { 18 SearchEngine createSearchEngine(Index index) {
19 return new SearchEngineImpl(index); 19 return new SearchEngineImpl(index);
20 } 20 }
21 21
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 buffer.write(", range="); 180 buffer.write(", range=");
181 buffer.write(sourceRange); 181 buffer.write(sourceRange);
182 buffer.write(", isResolved="); 182 buffer.write(", isResolved=");
183 buffer.write(isResolved); 183 buffer.write(isResolved);
184 buffer.write(", isQualified="); 184 buffer.write(", isQualified=");
185 buffer.write(isQualified); 185 buffer.write(isQualified);
186 buffer.write(")"); 186 buffer.write(")");
187 return buffer.toString(); 187 return buffer.toString();
188 } 188 }
189 } 189 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698