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

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

Issue 2520593003: Use AnalysisDriverUnlinkedUnit as a container for UnlinkedUnit and referenced names. (Closed)
Patch Set: Created 4 years, 1 month 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/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/error/error.dart'; 10 import 'package:analyzer/error/error.dart';
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 * 60 *
61 * 61 *
62 * TODO(scheglov) Clean up the list of implicitly analyzed files. 62 * TODO(scheglov) Clean up the list of implicitly analyzed files.
63 * 63 *
64 * TODO(scheglov) Handle not existing 'dart:x' URIs (while user is typing). 64 * TODO(scheglov) Handle not existing 'dart:x' URIs (while user is typing).
65 */ 65 */
66 class AnalysisDriver { 66 class AnalysisDriver {
67 /** 67 /**
68 * The version of data format, should be incremented on every format change. 68 * The version of data format, should be incremented on every format change.
69 */ 69 */
70 static const int DATA_VERSION = 5; 70 static const int DATA_VERSION = 6;
71 71
72 /** 72 /**
73 * The name of the driver, e.g. the name of the folder. 73 * The name of the driver, e.g. the name of the folder.
74 */ 74 */
75 String name; 75 String name;
76 76
77 /** 77 /**
78 * The scheduler that schedules analysis work in this, and possibly other 78 * The scheduler that schedules analysis work in this, and possibly other
79 * analysis drivers. 79 * analysis drivers.
80 */ 80 */
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1164 @override 1164 @override
1165 int get hashCode => uri.hashCode; 1165 int get hashCode => uri.hashCode;
1166 1166
1167 bool operator ==(other) { 1167 bool operator ==(other) {
1168 return other is _LibraryNode && other.uri == uri; 1168 return other is _LibraryNode && other.uri == uri;
1169 } 1169 }
1170 1170
1171 @override 1171 @override
1172 String toString() => uri.toString(); 1172 String toString() => uri.toString();
1173 } 1173 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/analysis/file_state.dart » ('j') | pkg/analyzer/lib/src/dart/analysis/file_state.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698