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

Side by Side Diff: pkg/analyzer/lib/task/model.dart

Issue 1842363004: More strong mode fixes for analyzer (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Backout options changes Created 4 years, 8 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/task/model.dart ('k') | pkg/analyzer/test/generated/engine_test.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.task.model; 5 library analyzer.task.model;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:developer'; 8 import 'dart:developer';
9 9
10 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask; 10 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask;
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 abstract class ResultDescriptor<V> { 458 abstract class ResultDescriptor<V> {
459 /** 459 /**
460 * Initialize a newly created analysis result to have the given [name] and 460 * Initialize a newly created analysis result to have the given [name] and
461 * [defaultValue]. 461 * [defaultValue].
462 * 462 *
463 * The given [cachingPolicy] is used to limit the total size of results 463 * The given [cachingPolicy] is used to limit the total size of results
464 * described by this descriptor. If no policy is specified, the results are 464 * described by this descriptor. If no policy is specified, the results are
465 * never evicted from the cache, and removed only when they are invalidated. 465 * never evicted from the cache, and removed only when they are invalidated.
466 */ 466 */
467 factory ResultDescriptor(String name, V defaultValue, 467 factory ResultDescriptor(String name, V defaultValue,
468 {ResultCachingPolicy<V> cachingPolicy}) = ResultDescriptorImpl; 468 {ResultCachingPolicy<V> cachingPolicy}) = ResultDescriptorImpl<V>;
469 469
470 /** 470 /**
471 * Return the caching policy for results described by this descriptor. 471 * Return the caching policy for results described by this descriptor.
472 */ 472 */
473 ResultCachingPolicy<V> get cachingPolicy; 473 ResultCachingPolicy<V> get cachingPolicy;
474 474
475 /** 475 /**
476 * Return the default value for results described by this descriptor. 476 * Return the default value for results described by this descriptor.
477 */ 477 */
478 V get defaultValue; 478 V get defaultValue;
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 /** 764 /**
765 * A work should be done, but without any special urgency. 765 * A work should be done, but without any special urgency.
766 */ 766 */
767 NORMAL, 767 NORMAL,
768 768
769 /** 769 /**
770 * Nothing to do. 770 * Nothing to do.
771 */ 771 */
772 NONE 772 NONE
773 } 773 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/task/model.dart ('k') | pkg/analyzer/test/generated/engine_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698