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

Side by Side Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 2297343002: Flush results when contexts are made idle. (Closed)
Patch Set: Un-fail completion tests. Created 4 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
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/task/dart.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 analyzer.src.generated.engine; 5 library analyzer.src.generated.engine;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
(...skipping 2066 matching lines...) Expand 10 before | Expand all | Expand 10 after
2077 */ 2077 */
2078 @deprecated 2078 @deprecated
2079 EmbedderYamlLocator get embedderYamlLocator; 2079 EmbedderYamlLocator get embedderYamlLocator;
2080 2080
2081 /** 2081 /**
2082 * Return a list of the explicit targets being analyzed by this context. 2082 * Return a list of the explicit targets being analyzed by this context.
2083 */ 2083 */
2084 List<AnalysisTarget> get explicitTargets; 2084 List<AnalysisTarget> get explicitTargets;
2085 2085
2086 /** 2086 /**
2087 * Return `true` if the context is active, i.e. is being analyzed now.
2088 */
2089 bool get isActive;
2090
2091 /**
2092 * Specify whether the context is active, i.e. is being analyzed now.
2093 */
2094 set isActive(bool value);
2095
2096 /**
2087 * Return the [StreamController] reporting [InvalidatedResult]s for everything 2097 * Return the [StreamController] reporting [InvalidatedResult]s for everything
2088 * in this context's cache. 2098 * in this context's cache.
2089 */ 2099 */
2090 ReentrantSynchronousStream<InvalidatedResult> get onResultInvalidated; 2100 ReentrantSynchronousStream<InvalidatedResult> get onResultInvalidated;
2091 2101
2092 /** 2102 /**
2093 * Return a list containing all of the sources that have been marked as 2103 * Return a list containing all of the sources that have been marked as
2094 * priority sources. Clients must not modify the returned list. 2104 * priority sources. Clients must not modify the returned list.
2095 */ 2105 */
2096 List<Source> get prioritySources; 2106 List<Source> get prioritySources;
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
2701 * The data that was created from the source. 2711 * The data that was created from the source.
2702 */ 2712 */
2703 final E data; 2713 final E data;
2704 2714
2705 /** 2715 /**
2706 * Initialize a newly created holder to associate the given [data] with the 2716 * Initialize a newly created holder to associate the given [data] with the
2707 * given [modificationTime]. 2717 * given [modificationTime].
2708 */ 2718 */
2709 TimestampedData(this.modificationTime, this.data); 2719 TimestampedData(this.modificationTime, this.data);
2710 } 2720 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698