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

Unified Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 685123006: Status page improvements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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/analysis_server/lib/src/get_handler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/engine.dart
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index b02647d4e70b0a613f127cb5818972cc458e6e57..c7ad1969fd3c465753453f513fdcd103fad59b73 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -1635,10 +1635,14 @@ class AnalysisContextImpl implements InternalAnalysisContext {
DartEntry dartEntry = sourceEntry;
SourceKind kind = dartEntry.getValue(DartEntry.SOURCE_KIND);
// get library independent values
+ handleCacheItem(source, dartEntry, SourceEntry.CONTENT);
handleCacheItem(source, dartEntry, SourceEntry.LINE_INFO);
+// handleCacheItem(source, dartEntry, DartEntry.CONTAINING_LIBRARIES);
Paul Berry 2014/10/30 17:36:52 It would be nice to have a comment explaining why
Brian Wilkerson 2014/10/30 21:06:59 Done
handleCacheItem(source, dartEntry, DartEntry.PARSE_ERRORS);
handleCacheItem(source, dartEntry, DartEntry.PARSED_UNIT);
+ handleCacheItem(source, dartEntry, DartEntry.SCAN_ERRORS);
handleCacheItem(source, dartEntry, DartEntry.SOURCE_KIND);
+ handleCacheItem(source, dartEntry, DartEntry.TOKEN_STREAM);
if (kind == SourceKind.LIBRARY) {
handleCacheItem(source, dartEntry, DartEntry.ELEMENT);
handleCacheItem(source, dartEntry, DartEntry.EXPORTED_LIBRARIES);
@@ -1646,13 +1650,16 @@ class AnalysisContextImpl implements InternalAnalysisContext {
handleCacheItem(source, dartEntry, DartEntry.INCLUDED_PARTS);
handleCacheItem(source, dartEntry, DartEntry.IS_CLIENT);
handleCacheItem(source, dartEntry, DartEntry.IS_LAUNCHABLE);
- // The public namespace isn't computed by performAnalysisTask() and therefore isn't
- // interesting.
+ // The public namespace isn't computed by performAnalysisTask()
+ // and therefore isn't interesting.
//handleCacheItem(key, dartEntry, DartEntry.PUBLIC_NAMESPACE);
}
// get library-specific values
List<Source> librarySources = getLibrariesContaining(source);
for (Source librarySource in librarySources) {
+// handleCacheItemInLibrary(dartEntry, librarySource, DartEntry.ANGULAR_ERRORS);
+// handleCacheItemInLibrary(dartEntry, librarySource, DartEntry.BUILT_ELEMENT);
+// handleCacheItemInLibrary(dartEntry, librarySource, DartEntry.BUILT_UNIT);
handleCacheItemInLibrary(dartEntry, librarySource, DartEntry.RESOLUTION_ERRORS);
handleCacheItemInLibrary(dartEntry, librarySource, DartEntry.RESOLVED_UNIT);
if (_generateSdkErrors || !source.isInSystemLibrary) {
@@ -1664,13 +1671,21 @@ class AnalysisContextImpl implements InternalAnalysisContext {
}
} else if (sourceEntry is HtmlEntry) {
HtmlEntry htmlEntry = sourceEntry;
+ handleCacheItem(source, htmlEntry, SourceEntry.CONTENT);
handleCacheItem(source, htmlEntry, SourceEntry.LINE_INFO);
+// handleCacheItem(source, htmlEntry, HtmlEntry.ANGULAR_APPLICATION);
+// handleCacheItem(source, htmlEntry, HtmlEntry.ANGULAR_COMPONENT);
+// handleCacheItem(source, htmlEntry, HtmlEntry.ANGULAR_ENTRY);
+// handleCacheItem(source, htmlEntry, HtmlEntry.ANGULAR_ERRORS);
+ handleCacheItem(source, htmlEntry, HtmlEntry.ELEMENT);
handleCacheItem(source, htmlEntry, HtmlEntry.PARSE_ERRORS);
handleCacheItem(source, htmlEntry, HtmlEntry.PARSED_UNIT);
+// handleCacheItem(source, htmlEntry, HtmlEntry.POLYMER_BUILD_ERRORS);
+// handleCacheItem(source, htmlEntry, HtmlEntry.POLYMER_RESOLUTION_ERRORS);
handleCacheItem(source, htmlEntry, HtmlEntry.RESOLUTION_ERRORS);
handleCacheItem(source, htmlEntry, HtmlEntry.RESOLVED_UNIT);
// We are not currently recording any hints related to HTML.
- // handleCacheItem(key, htmlEntry, HtmlEntry.HINTS);
+// handleCacheItem(key, htmlEntry, HtmlEntry.HINTS);
}
}
}
« no previous file with comments | « pkg/analysis_server/lib/src/get_handler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698