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

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

Issue 2894883002: Remove more libraries directives from server (Closed)
Patch Set: 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 library operation;
6
7 import 'package:analysis_server/src/analysis_server.dart'; 5 import 'package:analysis_server/src/analysis_server.dart';
8 import 'package:analyzer/src/generated/engine.dart'; 6 import 'package:analyzer/src/generated/engine.dart';
9 import 'package:analyzer/src/generated/source.dart'; 7 import 'package:analyzer/src/generated/source.dart';
10 8
11 /** 9 /**
12 * [MergeableOperation] can decide whether other operation can be merged into 10 * [MergeableOperation] can decide whether other operation can be merged into
13 * it, so that it should not be added as a separate operation. 11 * it, so that it should not be added as a separate operation.
14 */ 12 */
15 abstract class MergeableOperation extends ServerOperation { 13 abstract class MergeableOperation extends ServerOperation {
16 MergeableOperation(AnalysisContext context) : super(context); 14 MergeableOperation(AnalysisContext context) : super(context);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 */ 86 */
89 abstract class SourceSensitiveOperation extends ServerOperation { 87 abstract class SourceSensitiveOperation extends ServerOperation {
90 SourceSensitiveOperation(AnalysisContext context) : super(context); 88 SourceSensitiveOperation(AnalysisContext context) : super(context);
91 89
92 /** 90 /**
93 * The given [source] is about to be changed. 91 * The given [source] is about to be changed.
94 * Check if this [SourceSensitiveOperation] should be discarded. 92 * Check if this [SourceSensitiveOperation] should be discarded.
95 */ 93 */
96 bool shouldBeDiscardedOnSourceChange(Source source); 94 bool shouldBeDiscardedOnSourceChange(Source source);
97 } 95 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698