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

Side by Side Diff: pkg/analysis_server/lib/src/domain_analysis.dart

Issue 1392253002: Restructure the public API for server (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 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 domain.analysis; 5 library domain.analysis;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:core' hide Resource; 8 import 'dart:core' hide Resource;
9 9
10 import 'package:analysis_server/analysis/analysis_domain.dart'; 10 import 'package:analysis_server/plugin/analysis/analysis_domain.dart';
11 import 'package:analysis_server/src/analysis_server.dart'; 11 import 'package:analysis_server/src/analysis_server.dart';
12 import 'package:analysis_server/src/computer/computer_hover.dart'; 12 import 'package:analysis_server/src/computer/computer_hover.dart';
13 import 'package:analysis_server/src/constants.dart'; 13 import 'package:analysis_server/src/constants.dart';
14 import 'package:analysis_server/src/context_manager.dart'; 14 import 'package:analysis_server/src/context_manager.dart';
15 import 'package:analysis_server/src/domains/analysis/navigation.dart'; 15 import 'package:analysis_server/src/domains/analysis/navigation.dart';
16 import 'package:analysis_server/src/operation/operation_analysis.dart' 16 import 'package:analysis_server/src/operation/operation_analysis.dart'
17 show 17 show
18 NavigationOperation, 18 NavigationOperation,
19 OccurrencesOperation, 19 OccurrencesOperation,
20 sendAnalysisNotificationNavigation; 20 sendAnalysisNotificationNavigation;
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 context.onResultComputed(descriptor).listen((result) { 366 context.onResultComputed(descriptor).listen((result) {
367 StreamController<engine.ComputedResult> controller = 367 StreamController<engine.ComputedResult> controller =
368 controllers[result.descriptor]; 368 controllers[result.descriptor];
369 if (controller != null) { 369 if (controller != null) {
370 controller.add(result); 370 controller.add(result);
371 } 371 }
372 }); 372 });
373 } 373 }
374 } 374 }
375 } 375 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698