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

Unified Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 2353693002: Remove incremental analysis cache. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/incremental_cache.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/idl.dart
diff --git a/pkg/analyzer/lib/src/summary/idl.dart b/pkg/analyzer/lib/src/summary/idl.dart
index 51737b27f4aada27157d59f0d19645c32ab96c5d..4eff0055662fbadb94f53e08efa8da3890a3d6ee 100644
--- a/pkg/analyzer/lib/src/summary/idl.dart
+++ b/pkg/analyzer/lib/src/summary/idl.dart
@@ -58,100 +58,6 @@ import 'format.dart' as generated;
const informative = null;
/**
- * Information about an analysis error in a source.
- */
-abstract class CacheAnalysisError extends base.SummaryClass {
- /**
- * The correction to be displayed for this error, or `null` if there is no
- * correction information for this error. The correction should indicate how
- * the user can fix the error.
- */
- @Id(4)
- String get correction;
-
- /**
- * The unique name of the error code.
- */
- @Id(0)
- String get errorCodeUniqueName;
-
- /**
- * Length of the error range.
- */
- @Id(2)
- int get length;
-
- /**
- * The message to be displayed for this error. The message should indicate
- * what is wrong and why it is wrong.
- */
- @Id(3)
- String get message;
-
- /**
- * Offset of the error range relative to the beginning of the file.
- */
- @Id(1)
- int get offset;
-}
-
-/**
- * Information about a source that depends only on its content.
- */
-@TopLevel('CaSS')
-abstract class CacheSourceContent extends base.SummaryClass {
- factory CacheSourceContent.fromBuffer(List<int> buffer) =>
- generated.readCacheSourceContent(buffer);
-
- /**
- * The list of exported URIs, e.g. `dart:core`, or `foo/bar.dart`,
- * or `package:foo/bar.dart`. Empty if [kind] is [CacheSourceKind.part].
- */
- @Id(2)
- List<String> get exportedUris;
-
- /**
- * The list of explicitly imported URIs, e.g. `dart:core`, or `foo/bar.dart`,
- * or `package:foo/bar.dart`. Empty if [kind] is [CacheSourceKind.part].
- */
- @Id(1)
- List<String> get importedUris;
-
- /**
- * The kind of the source.
- */
- @Id(0)
- CacheSourceKind get kind;
-
- /**
- * The list of part URIs, e.g. `foo/bar.dart`. Empty if [kind] is
- * [CacheSourceKind.part].
- */
- @Id(3)
- List<String> get partUris;
-}
-
-/**
- * Errors of a source in a library, which depends on the import/export closure
- * of the containing library and the source.
- */
-@TopLevel('CSEL')
-abstract class CacheSourceErrorsInLibrary extends base.SummaryClass {
- factory CacheSourceErrorsInLibrary.fromBuffer(List<int> buffer) =>
- generated.readCacheSourceErrorsInLibrary(buffer);
- /**
- * The list of errors in the source in the library.
- */
- @Id(0)
- List<CacheAnalysisError> get errors;
-}
-
-/**
- * Kind of a source in the cache.
- */
-enum CacheSourceKind { library, part }
-
-/**
* Information about an element code range.
*/
abstract class CodeRange extends base.SummaryClass {
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/incremental_cache.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698