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

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

Issue 1503203002: Additional clean-up after moving to the new task model; a breaking change needed to allow a bug to … (Closed) Base URL: https://github.com/dart-lang/sdk.git@analyzer-breaking-0.27
Patch Set: Created 5 years 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/generated/element.dart ('k') | no next file » | 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 engine; 5 library 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/source/embedder.dart'; 10 import 'package:analyzer/source/embedder.dart';
(...skipping 1824 matching lines...) Expand 10 before | Expand all | Expand 10 after
1835 } 1835 }
1836 1836
1837 /** 1837 /**
1838 * Additional behavior for an analysis context that is required by internal 1838 * Additional behavior for an analysis context that is required by internal
1839 * users of the context. 1839 * users of the context.
1840 */ 1840 */
1841 abstract class InternalAnalysisContext implements AnalysisContext { 1841 abstract class InternalAnalysisContext implements AnalysisContext {
1842 /** 1842 /**
1843 * A table mapping the sources known to the context to the information known 1843 * A table mapping the sources known to the context to the information known
1844 * about the source. 1844 * about the source.
1845 *
1846 * TODO(scheglov) add the type, once we have only one cache.
1847 */ 1845 */
1848 dynamic get analysisCache; 1846 AnalysisCache get analysisCache;
1849 1847
1850 /** 1848 /**
1851 * Allow the client to supply its own content cache. This will take the 1849 * Allow the client to supply its own content cache. This will take the
1852 * place of the content cache created by default, allowing clients to share 1850 * place of the content cache created by default, allowing clients to share
1853 * the content cache between contexts. 1851 * the content cache between contexts.
1854 */ 1852 */
1855 set contentCache(ContentCache value); 1853 set contentCache(ContentCache value);
1856 1854
1857 /// Get the [EmbedderYamlLocator] for this context. 1855 /// Get the [EmbedderYamlLocator] for this context.
1858 EmbedderYamlLocator get embedderYamlLocator; 1856 EmbedderYamlLocator get embedderYamlLocator;
(...skipping 11 matching lines...) Expand all
1870 1868
1871 /** 1869 /**
1872 * Return a list of the priority targets being analyzed by this context. 1870 * Return a list of the priority targets being analyzed by this context.
1873 */ 1871 */
1874 List<AnalysisTarget> get priorityTargets; 1872 List<AnalysisTarget> get priorityTargets;
1875 1873
1876 /** 1874 /**
1877 * The partition that contains analysis results that are not shared with other 1875 * The partition that contains analysis results that are not shared with other
1878 * contexts. 1876 * contexts.
1879 * 1877 *
1880 * TODO(scheglov) add the type, once we have only one cache. 1878 * TODO(scheglov) add the type, once we have only one cache.
scheglov 2015/12/07 19:59:11 Remove TODO.
Brian Wilkerson 2015/12/07 20:02:26 Done
1881 */ 1879 */
1882 dynamic get privateAnalysisCachePartition; 1880 CachePartition get privateAnalysisCachePartition;
1883 1881
1884 /** 1882 /**
1885 * Sets the [TypeProvider] for this context. 1883 * Sets the [TypeProvider] for this context.
1886 */ 1884 */
1887 void set typeProvider(TypeProvider typeProvider); 1885 void set typeProvider(TypeProvider typeProvider);
1888 1886
1889 /** 1887 /**
1890 * A list of all [WorkManager]s used by this context. 1888 * A list of all [WorkManager]s used by this context.
1891 */ 1889 */
1892 List<WorkManager> get workManagers; 1890 List<WorkManager> get workManagers;
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
2401 * The data that was created from the source. 2399 * The data that was created from the source.
2402 */ 2400 */
2403 final E data; 2401 final E data;
2404 2402
2405 /** 2403 /**
2406 * Initialize a newly created holder to associate the given [data] with the 2404 * Initialize a newly created holder to associate the given [data] with the
2407 * given [modificationTime]. 2405 * given [modificationTime].
2408 */ 2406 */
2409 TimestampedData(this.modificationTime, this.data); 2407 TimestampedData(this.modificationTime, this.data);
2410 } 2408 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/element.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698