| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'dart:async'; | 5 import 'dart:async'; |
| 6 import 'dart:convert'; | 6 import 'dart:convert'; |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 | 8 |
| 9 import 'package:analysis_server/protocol/protocol_generated.dart'; | 9 import 'package:analysis_server/protocol/protocol_generated.dart'; |
| 10 import 'package:analysis_server/src/analysis_server.dart'; | 10 import 'package:analysis_server/src/analysis_server.dart'; |
| (...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1018 h3('Analyzer plugins'); | 1018 h3('Analyzer plugins'); |
| 1019 void writePlugin(Plugin plugin) { | 1019 void writePlugin(Plugin plugin) { |
| 1020 buf.write(plugin.uniqueIdentifier); | 1020 buf.write(plugin.uniqueIdentifier); |
| 1021 buf.write(' ('); | 1021 buf.write(' ('); |
| 1022 buf.write(plugin.runtimeType); | 1022 buf.write(plugin.runtimeType); |
| 1023 buf.write(')'); | 1023 buf.write(')'); |
| 1024 } | 1024 } |
| 1025 | 1025 |
| 1026 List<Plugin> plugins = [ | 1026 List<Plugin> plugins = [ |
| 1027 AnalysisEngine.instance.enginePlugin, | 1027 AnalysisEngine.instance.enginePlugin, |
| 1028 server.serverPlugin | |
| 1029 ]; | 1028 ]; |
| 1030 plugins.addAll(server.userDefinedPlugins); | 1029 plugins.addAll(server.userDefinedPlugins); |
| 1031 ul(plugins, writePlugin); | 1030 ul(plugins, writePlugin); |
| 1032 } | 1031 } |
| 1033 } | 1032 } |
| 1034 | 1033 |
| 1035 class ProfilePage extends DiagnosticPageWithNav { | 1034 class ProfilePage extends DiagnosticPageWithNav { |
| 1036 ProfilePage(DiagnosticsSite site) | 1035 ProfilePage(DiagnosticsSite site) |
| 1037 : super(site, 'profile', 'Profiling Info', | 1036 : super(site, 'profile', 'Profiling Info', |
| 1038 description: 'Profiling performance tag data.'); | 1037 description: 'Profiling performance tag data.'); |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1199 h3('Execution domain'); | 1198 h3('Execution domain'); |
| 1200 ul(ExecutionService.VALUES, (item) { | 1199 ul(ExecutionService.VALUES, (item) { |
| 1201 if (domain.onFileAnalyzed != null) { | 1200 if (domain.onFileAnalyzed != null) { |
| 1202 buf.write('$item (has subscriptions)'); | 1201 buf.write('$item (has subscriptions)'); |
| 1203 } else { | 1202 } else { |
| 1204 buf.write('$item (no subscriptions)'); | 1203 buf.write('$item (no subscriptions)'); |
| 1205 } | 1204 } |
| 1206 }); | 1205 }); |
| 1207 } | 1206 } |
| 1208 } | 1207 } |
| OLD | NEW |