| 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 analysis.server; | 5 library analysis.server; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:collection'; | 8 import 'dart:collection'; |
| 9 import 'dart:core'; | 9 import 'dart:core'; |
| 10 import 'dart:io' as io; | 10 import 'dart:io' as io; |
| (...skipping 1833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1844 sendAnalysisNotificationHighlights(analysisServer, path, unit); | 1844 sendAnalysisNotificationHighlights(analysisServer, path, unit); |
| 1845 }); | 1845 }); |
| 1846 } | 1846 } |
| 1847 if (analysisServer._hasAnalysisServiceSubscription( | 1847 if (analysisServer._hasAnalysisServiceSubscription( |
| 1848 AnalysisService.NAVIGATION, path)) { | 1848 AnalysisService.NAVIGATION, path)) { |
| 1849 _runDelayed(() { | 1849 _runDelayed(() { |
| 1850 new_sendDartNotificationNavigation(analysisServer, result); | 1850 new_sendDartNotificationNavigation(analysisServer, result); |
| 1851 }); | 1851 }); |
| 1852 } | 1852 } |
| 1853 if (analysisServer._hasAnalysisServiceSubscription( | 1853 if (analysisServer._hasAnalysisServiceSubscription( |
| 1854 AnalysisService.OCCURRENCES, path)) { |
| 1855 _runDelayed(() { |
| 1856 new_sendDartNotificationOccurrences(analysisServer, result); |
| 1857 }); |
| 1858 } |
| 1859 if (analysisServer._hasAnalysisServiceSubscription( |
| 1854 AnalysisService.OVERRIDES, path)) { | 1860 AnalysisService.OVERRIDES, path)) { |
| 1855 _runDelayed(() { | 1861 _runDelayed(() { |
| 1856 sendAnalysisNotificationOverrides(analysisServer, path, unit); | 1862 sendAnalysisNotificationOverrides(analysisServer, path, unit); |
| 1857 }); | 1863 }); |
| 1858 } | 1864 } |
| 1859 if (analysisServer._hasAnalysisServiceSubscription( | 1865 if (analysisServer._hasAnalysisServiceSubscription( |
| 1860 AnalysisService.OUTLINE, path)) { | 1866 AnalysisService.OUTLINE, path)) { |
| 1861 _runDelayed(() { | 1867 _runDelayed(() { |
| 1862 SourceKind sourceKind = | 1868 SourceKind sourceKind = |
| 1863 unit.directives.any((d) => d is PartOfDirective) | 1869 unit.directives.any((d) => d is PartOfDirective) |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2116 /** | 2122 /** |
| 2117 * The [PerformanceTag] for time spent in server request handlers. | 2123 * The [PerformanceTag] for time spent in server request handlers. |
| 2118 */ | 2124 */ |
| 2119 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); | 2125 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); |
| 2120 | 2126 |
| 2121 /** | 2127 /** |
| 2122 * The [PerformanceTag] for time spent in split store microtasks. | 2128 * The [PerformanceTag] for time spent in split store microtasks. |
| 2123 */ | 2129 */ |
| 2124 static PerformanceTag splitStore = new PerformanceTag('splitStore'); | 2130 static PerformanceTag splitStore = new PerformanceTag('splitStore'); |
| 2125 } | 2131 } |
| OLD | NEW |