while (iterator.moveNext()) {
SourceEntry sourceEntry = iterator.getValue();
if (sourceEntry instanceof DartEntry) {
Source source = iterator.getKey();
DartEntry dartEntry = (DartEntry) sourceEntry;
SourceKind kind = dartEntry.getValue(DartEntry.SOURCE_KIND);
// get library independent values
statistics.putCacheItem(dartEntry, SourceEntry.LINE_INFO);
statistics.putCacheItem(dartEntry, DartEntry.PARSE_ERRORS);
statistics.putCacheItem(dartEntry, DartEntry.PARSED_UNIT);
statistics.putCacheItem(dartEntry, DartEntry.SOURCE_KIND);