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

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

Issue 2670843004: Record defined top-level/class-mebber names with unlinked bundles. (Closed)
Patch Set: Created 3 years, 10 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/declared_variables.dart'; 9 import 'package:analyzer/context/declared_variables.dart';
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 * results are "eventually consistent" with the file system by simply calling 63 * results are "eventually consistent" with the file system by simply calling
64 * [changeFile] any time the contents of a file on the file system have changed. 64 * [changeFile] any time the contents of a file on the file system have changed.
65 * 65 *
66 * 66 *
67 * TODO(scheglov) Clean up the list of implicitly analyzed files. 67 * TODO(scheglov) Clean up the list of implicitly analyzed files.
68 */ 68 */
69 class AnalysisDriver { 69 class AnalysisDriver {
70 /** 70 /**
71 * The version of data format, should be incremented on every format change. 71 * The version of data format, should be incremented on every format change.
72 */ 72 */
73 static const int DATA_VERSION = 17; 73 static const int DATA_VERSION = 18;
74 74
75 /** 75 /**
76 * The number of exception contexts allowed to write. Once this field is 76 * The number of exception contexts allowed to write. Once this field is
77 * zero, we stop writing any new exception contexts in this process. 77 * zero, we stop writing any new exception contexts in this process.
78 */ 78 */
79 static int allowedNumberOfContextsToWrite = 10; 79 static int allowedNumberOfContextsToWrite = 10;
80 80
81 /** 81 /**
82 * The name of the driver, e.g. the name of the folder. 82 * The name of the driver, e.g. the name of the folder.
83 */ 83 */
(...skipping 1626 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 libraryDeclarations.add(new TopLevelDeclarationInSource( 1710 libraryDeclarations.add(new TopLevelDeclarationInSource(
1711 file.source, declaration, isExported)); 1711 file.source, declaration, isExported));
1712 } 1712 }
1713 } 1713 }
1714 } 1714 }
1715 1715
1716 // We're not done yet. 1716 // We're not done yet.
1717 return false; 1717 return false;
1718 } 1718 }
1719 } 1719 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/analysis/defined_names.dart ('k') | pkg/analyzer/lib/src/dart/analysis/file_state.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698