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

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

Issue 1063153004: Convert analyzer and analysis_server to use the plugin package (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analysis_server/lib/plugin/index.dart ('k') | pkg/analysis_server/lib/src/get_handler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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:math' show max; 9 import 'dart:math' show max;
10 10
11 import 'package:analysis_server/src/analysis_logger.dart'; 11 import 'package:analysis_server/src/analysis_logger.dart';
12 import 'package:analysis_server/src/channel/channel.dart'; 12 import 'package:analysis_server/src/channel/channel.dart';
13 import 'package:analysis_server/src/context_manager.dart'; 13 import 'package:analysis_server/src/context_manager.dart';
14 import 'package:analysis_server/src/operation/operation.dart'; 14 import 'package:analysis_server/src/operation/operation.dart';
15 import 'package:analysis_server/src/operation/operation_analysis.dart'; 15 import 'package:analysis_server/src/operation/operation_analysis.dart';
16 import 'package:analysis_server/src/operation/operation_queue.dart'; 16 import 'package:analysis_server/src/operation/operation_queue.dart';
17 import 'package:analysis_server/src/protocol.dart' hide Element; 17 import 'package:analysis_server/src/protocol.dart' hide Element;
18 import 'package:analysis_server/src/services/correction/namespace.dart'; 18 import 'package:analysis_server/src/services/correction/namespace.dart';
19 import 'package:analysis_server/src/services/index/index.dart'; 19 import 'package:analysis_server/src/services/index/index.dart';
20 import 'package:analysis_server/src/services/search/search_engine.dart'; 20 import 'package:analysis_server/src/services/search/search_engine.dart';
21 import 'package:analysis_server/src/source/optimizing_pub_package_map_provider.d art'; 21 import 'package:analysis_server/src/source/optimizing_pub_package_map_provider.d art';
22 import 'package:analyzer/file_system/file_system.dart'; 22 import 'package:analyzer/file_system/file_system.dart';
23 import 'package:analyzer/instrumentation/instrumentation.dart'; 23 import 'package:analyzer/instrumentation/instrumentation.dart';
24 import 'package:analyzer/plugin/plugin.dart';
25 import 'package:analyzer/src/generated/ast.dart'; 24 import 'package:analyzer/src/generated/ast.dart';
26 import 'package:analyzer/src/generated/element.dart'; 25 import 'package:analyzer/src/generated/element.dart';
27 import 'package:analyzer/src/generated/engine.dart'; 26 import 'package:analyzer/src/generated/engine.dart';
28 import 'package:analyzer/src/generated/java_engine.dart'; 27 import 'package:analyzer/src/generated/java_engine.dart';
29 import 'package:analyzer/src/generated/sdk.dart'; 28 import 'package:analyzer/src/generated/sdk.dart';
30 import 'package:analyzer/src/generated/source.dart'; 29 import 'package:analyzer/src/generated/source.dart';
31 import 'package:analyzer/src/generated/source_io.dart'; 30 import 'package:analyzer/src/generated/source_io.dart';
32 import 'package:analyzer/src/generated/utilities_general.dart'; 31 import 'package:analyzer/src/generated/utilities_general.dart';
32 import 'package:plugin/plugin.dart';
33 33
34 typedef void OptionUpdater(AnalysisOptionsImpl options); 34 typedef void OptionUpdater(AnalysisOptionsImpl options);
35 35
36 /** 36 /**
37 * Enum representing reasons why analysis might be done for a given file. 37 * Enum representing reasons why analysis might be done for a given file.
38 */ 38 */
39 class AnalysisDoneReason { 39 class AnalysisDoneReason {
40 /** 40 /**
41 * Analysis of the file completed successfully. 41 * Analysis of the file completed successfully.
42 */ 42 */
(...skipping 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 /** 1499 /**
1500 * The [PerformanceTag] for time spent in server request handlers. 1500 * The [PerformanceTag] for time spent in server request handlers.
1501 */ 1501 */
1502 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); 1502 static PerformanceTag serverRequests = new PerformanceTag('serverRequests');
1503 1503
1504 /** 1504 /**
1505 * The [PerformanceTag] for time spent in split store microtasks. 1505 * The [PerformanceTag] for time spent in split store microtasks.
1506 */ 1506 */
1507 static PerformanceTag splitStore = new PerformanceTag('splitStore'); 1507 static PerformanceTag splitStore = new PerformanceTag('splitStore');
1508 } 1508 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/plugin/index.dart ('k') | pkg/analysis_server/lib/src/get_handler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698