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

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

Issue 589843002: Reset refactoring manager on any analysis. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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
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 domain.execution; 5 library domain.execution;
6 6
7 import 'dart:collection';
8
7 import 'package:analysis_server/src/analysis_server.dart'; 9 import 'package:analysis_server/src/analysis_server.dart';
8 import 'package:analysis_server/src/constants.dart'; 10 import 'package:analysis_server/src/constants.dart';
9 import 'package:analysis_server/src/protocol.dart'; 11 import 'package:analysis_server/src/protocol.dart';
10 import 'dart:collection';
11 import 'package:analyzer/src/generated/engine.dart'; 12 import 'package:analyzer/src/generated/engine.dart';
12 import 'package:analyzer/src/generated/source.dart'; 13 import 'package:analyzer/src/generated/source.dart';
13 14
14 /** 15 /**
15 * Instances of the class [ExecutionDomainHandler] implement a [RequestHandler] 16 * Instances of the class [ExecutionDomainHandler] implement a [RequestHandler]
16 * that handles requests in the `execution` domain. 17 * that handles requests in the `execution` domain.
17 */ 18 */
18 class ExecutionDomainHandler implements RequestHandler { 19 class ExecutionDomainHandler implements RequestHandler {
19 /** 20 /**
20 * The analysis server that is using this handler to process requests. 21 * The analysis server that is using this handler to process requests.
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 } 197 }
197 } 198 }
198 } 199 }
199 server.sendNotification( 200 server.sendNotification(
200 new ExecutionLaunchDataParams( 201 new ExecutionLaunchDataParams(
201 executables, 202 executables,
202 dartToHtml, 203 dartToHtml,
203 htmlToDart).toNotification()); 204 htmlToDart).toNotification());
204 } 205 }
205 206
207 @override
208 void analysisStarted(AnalysisContext context) {
209 }
210
206 List<String> getFullNames(List<Source> sources) { 211 List<String> getFullNames(List<Source> sources) {
207 return sources.map((Source source) => source.fullName).toList(); 212 return sources.map((Source source) => source.fullName).toList();
208 } 213 }
209 } 214 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/lib/src/edit/edit_domain.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698