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

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

Issue 1204373002: Initial version of limiting invalidation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixes for review comments. Created 5 years, 5 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine; 8 library engine;
9 9
10 import 'dart:async'; 10 import 'dart:async';
(...skipping 5792 matching lines...) Expand 10 before | Expand all | Expand 10 after
5803 final newContext.PartitionManager partitionManager_new = 5803 final newContext.PartitionManager partitionManager_new =
5804 new newContext.PartitionManager(); 5804 new newContext.PartitionManager();
5805 5805
5806 /** 5806 /**
5807 * A flag indicating whether the (new) task model should be used to perform 5807 * A flag indicating whether the (new) task model should be used to perform
5808 * analysis. 5808 * analysis.
5809 */ 5809 */
5810 bool useTaskModel = false; 5810 bool useTaskModel = false;
5811 5811
5812 /** 5812 /**
5813 * A flag indicating whether the task model should attempt to limit
5814 * invalidation after a change.
5815 */
5816 bool limitInvalidationInTaskModel = false;
5817
5818 /**
5813 * The task manager used to manage the tasks used to analyze code. 5819 * The task manager used to manage the tasks used to analyze code.
5814 */ 5820 */
5815 TaskManager _taskManager; 5821 TaskManager _taskManager;
5816 5822
5817 AnalysisEngine._(); 5823 AnalysisEngine._();
5818 5824
5819 /** 5825 /**
5820 * Return the instrumentation service that is to be used by this analysis 5826 * Return the instrumentation service that is to be used by this analysis
5821 * engine. 5827 * engine.
5822 */ 5828 */
(...skipping 6022 matching lines...) Expand 10 before | Expand all | Expand 10 after
11845 PendingFuture pendingFuture = 11851 PendingFuture pendingFuture =
11846 new PendingFuture<T>(_context, source, computeValue); 11852 new PendingFuture<T>(_context, source, computeValue);
11847 if (!pendingFuture.evaluate(sourceEntry)) { 11853 if (!pendingFuture.evaluate(sourceEntry)) {
11848 _context._pendingFutureSources 11854 _context._pendingFutureSources
11849 .putIfAbsent(source, () => <PendingFuture>[]) 11855 .putIfAbsent(source, () => <PendingFuture>[])
11850 .add(pendingFuture); 11856 .add(pendingFuture);
11851 } 11857 }
11852 return pendingFuture.future; 11858 return pendingFuture.future;
11853 } 11859 }
11854 } 11860 }
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