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

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

Issue 2844273003: Unify the server and plugin versions of the generators (Closed)
Patch Set: add missed files Created 3 years, 7 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 import 'package:analysis_server/plugin/protocol/protocol.dart' as protocol; 5 import 'package:analysis_server/protocol/protocol_generated.dart' as protocol;
6 import 'package:analysis_server/src/analysis_server.dart' show AnalysisServer; 6 import 'package:analysis_server/src/analysis_server.dart' show AnalysisServer;
7 import 'package:analysis_server/src/domains/analysis/navigation.dart'; 7 import 'package:analysis_server/src/domains/analysis/navigation.dart';
8 import 'package:analysis_server/src/domains/analysis/navigation_dart.dart'; 8 import 'package:analysis_server/src/domains/analysis/navigation_dart.dart';
9 import 'package:analysis_server/src/domains/analysis/occurrences.dart'; 9 import 'package:analysis_server/src/domains/analysis/occurrences.dart';
10 import 'package:analysis_server/src/domains/analysis/occurrences_dart.dart'; 10 import 'package:analysis_server/src/domains/analysis/occurrences_dart.dart';
11 import 'package:analysis_server/src/protocol_server.dart' as protocol; 11 import 'package:analysis_server/src/protocol_server.dart' as protocol;
12 import 'package:analyzer/src/dart/analysis/driver.dart'; 12 import 'package:analyzer/src/dart/analysis/driver.dart';
13 13
14 void new_sendDartNotificationNavigation( 14 void new_sendDartNotificationNavigation(
15 AnalysisServer analysisServer, AnalysisResult result) { 15 AnalysisServer analysisServer, AnalysisResult result) {
(...skipping 20 matching lines...) Expand all
36 } 36 }
37 } 37 }
38 38
39 void new_sendErrorNotification( 39 void new_sendErrorNotification(
40 AnalysisServer analysisServer, AnalysisResult result) { 40 AnalysisServer analysisServer, AnalysisResult result) {
41 var serverErrors = protocol.doAnalysisError_listFromEngine( 41 var serverErrors = protocol.doAnalysisError_listFromEngine(
42 result.driver.analysisOptions, result.lineInfo, result.errors); 42 result.driver.analysisOptions, result.lineInfo, result.errors);
43 var params = new protocol.AnalysisErrorsParams(result.path, serverErrors); 43 var params = new protocol.AnalysisErrorsParams(result.path, serverErrors);
44 analysisServer.sendNotification(params.toNotification()); 44 analysisServer.sendNotification(params.toNotification());
45 } 45 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/computer/computer_outline.dart ('k') | pkg/analysis_server/lib/src/domain_completion.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698