OLD | NEW |
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; | |
6 | |
7 import 'dart:async'; | 5 import 'dart:async'; |
8 import 'dart:core'; | 6 import 'dart:core'; |
9 | 7 |
10 import 'package:analysis_server/plugin/analysis/analysis_domain.dart'; | 8 import 'package:analysis_server/plugin/analysis/analysis_domain.dart'; |
11 import 'package:analysis_server/src/analysis_server.dart'; | 9 import 'package:analysis_server/src/analysis_server.dart'; |
12 import 'package:analysis_server/src/computer/computer_hover.dart'; | 10 import 'package:analysis_server/src/computer/computer_hover.dart'; |
13 import 'package:analysis_server/src/constants.dart'; | 11 import 'package:analysis_server/src/constants.dart'; |
14 import 'package:analysis_server/src/context_manager.dart'; | 12 import 'package:analysis_server/src/context_manager.dart'; |
15 import 'package:analysis_server/src/domains/analysis/navigation.dart'; | 13 import 'package:analysis_server/src/domains/analysis/navigation.dart'; |
16 import 'package:analysis_server/src/domains/analysis/navigation_dart.dart'; | 14 import 'package:analysis_server/src/domains/analysis/navigation_dart.dart'; |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 context.onResultChanged(descriptor).listen((result) { | 488 context.onResultChanged(descriptor).listen((result) { |
491 StreamController<engine.ResultChangedEvent> controller = | 489 StreamController<engine.ResultChangedEvent> controller = |
492 controllers[result.descriptor]; | 490 controllers[result.descriptor]; |
493 if (controller != null) { | 491 if (controller != null) { |
494 controller.add(result); | 492 controller.add(result); |
495 } | 493 } |
496 }); | 494 }); |
497 } | 495 } |
498 } | 496 } |
499 } | 497 } |
OLD | NEW |