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

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

Issue 2618423002: Increment AnalysisDriver data version. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/dart/element/element.dart' show CompilationUnitElement; 10 import 'package:analyzer/dart/element/element.dart' show CompilationUnitElement;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 * results are "eventually consistent" with the file system by simply calling 66 * results are "eventually consistent" with the file system by simply calling
67 * [changeFile] any time the contents of a file on the file system have changed. 67 * [changeFile] any time the contents of a file on the file system have changed.
68 * 68 *
69 * 69 *
70 * TODO(scheglov) Clean up the list of implicitly analyzed files. 70 * TODO(scheglov) Clean up the list of implicitly analyzed files.
71 */ 71 */
72 class AnalysisDriver { 72 class AnalysisDriver {
73 /** 73 /**
74 * The version of data format, should be incremented on every format change. 74 * The version of data format, should be incremented on every format change.
75 */ 75 */
76 static const int DATA_VERSION = 9; 76 static const int DATA_VERSION = 10;
77 77
78 /** 78 /**
79 * The name of the driver, e.g. the name of the folder. 79 * The name of the driver, e.g. the name of the folder.
80 */ 80 */
81 String name; 81 String name;
82 82
83 /** 83 /**
84 * The scheduler that schedules analysis work in this, and possibly other 84 * The scheduler that schedules analysis work in this, and possibly other
85 * analysis drivers. 85 * analysis drivers.
86 */ 86 */
(...skipping 1593 matching lines...) Expand 10 before | Expand all | Expand 10 after
1680 libraryDeclarations.add(new TopLevelDeclarationInSource( 1680 libraryDeclarations.add(new TopLevelDeclarationInSource(
1681 file.source, declaration, isExported)); 1681 file.source, declaration, isExported));
1682 } 1682 }
1683 } 1683 }
1684 } 1684 }
1685 1685
1686 // We're not done yet. 1686 // We're not done yet.
1687 return false; 1687 return false;
1688 } 1688 }
1689 } 1689 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698