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

Side by Side Diff: pkg/analyzer/lib/src/dart/analysis/driver.dart

Issue 2990323002: Move byte_store.dart and file_byte_store.dart to their own subdirectory. (Closed)
Patch Set: Created 3 years, 4 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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:collection'; 6 import 'dart:collection';
7 import 'dart:typed_data'; 7 import 'dart:typed_data';
8 8
9 import 'package:analyzer/context/context_root.dart'; 9 import 'package:analyzer/context/context_root.dart';
10 import 'package:analyzer/context/declared_variables.dart'; 10 import 'package:analyzer/context/declared_variables.dart';
(...skipping 23 matching lines...) Expand all
34 PerformanceStatistics; 34 PerformanceStatistics;
35 import 'package:analyzer/src/generated/resolver.dart'; 35 import 'package:analyzer/src/generated/resolver.dart';
36 import 'package:analyzer/src/generated/source.dart'; 36 import 'package:analyzer/src/generated/source.dart';
37 import 'package:analyzer/src/generated/utilities_general.dart'; 37 import 'package:analyzer/src/generated/utilities_general.dart';
38 import 'package:analyzer/src/lint/registry.dart' as linter; 38 import 'package:analyzer/src/lint/registry.dart' as linter;
39 import 'package:analyzer/src/summary/format.dart'; 39 import 'package:analyzer/src/summary/format.dart';
40 import 'package:analyzer/src/summary/idl.dart'; 40 import 'package:analyzer/src/summary/idl.dart';
41 import 'package:analyzer/src/summary/package_bundle_reader.dart'; 41 import 'package:analyzer/src/summary/package_bundle_reader.dart';
42 import 'package:front_end/src/base/api_signature.dart'; 42 import 'package:front_end/src/base/api_signature.dart';
43 import 'package:front_end/src/base/performace_logger.dart'; 43 import 'package:front_end/src/base/performace_logger.dart';
44 import 'package:front_end/src/incremental/byte_store.dart'; 44 import 'package:front_end/src/byte_store/byte_store.dart';
45 import 'package:meta/meta.dart'; 45 import 'package:meta/meta.dart';
46 46
47 /** 47 /**
48 * This class computes [AnalysisResult]s for Dart files. 48 * This class computes [AnalysisResult]s for Dart files.
49 * 49 *
50 * Let the set of "explicitly analyzed files" denote the set of paths that have 50 * Let the set of "explicitly analyzed files" denote the set of paths that have
51 * been passed to [addFile] but not subsequently passed to [removeFile]. Let 51 * been passed to [addFile] but not subsequently passed to [removeFile]. Let
52 * the "current analysis results" denote the map from the set of explicitly 52 * the "current analysis results" denote the map from the set of explicitly
53 * analyzed files to the most recent [AnalysisResult] delivered to [results] 53 * analyzed files to the most recent [AnalysisResult] delivered to [results]
54 * for each file. Let the "current file state" represent a map from file path 54 * for each file. Let the "current file state" represent a map from file path
(...skipping 2014 matching lines...) Expand 10 before | Expand all | Expand 10 after
2069 libraryDeclarations.add(new TopLevelDeclarationInSource( 2069 libraryDeclarations.add(new TopLevelDeclarationInSource(
2070 file.source, declaration, isExported)); 2070 file.source, declaration, isExported));
2071 } 2071 }
2072 } 2072 }
2073 } 2073 }
2074 2074
2075 // We're not done yet. 2075 // We're not done yet.
2076 return false; 2076 return false;
2077 } 2077 }
2078 } 2078 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698