OLD | NEW |
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 * | 64 * |
65 * | 65 * |
66 * TODO(scheglov) Clean up the list of implicitly analyzed files. | 66 * TODO(scheglov) Clean up the list of implicitly analyzed files. |
67 * | 67 * |
68 * TODO(scheglov) Handle not existing 'dart:x' URIs (while user is typing). | 68 * TODO(scheglov) Handle not existing 'dart:x' URIs (while user is typing). |
69 */ | 69 */ |
70 class AnalysisDriver { | 70 class AnalysisDriver { |
71 /** | 71 /** |
72 * The version of data format, should be incremented on every format change. | 72 * The version of data format, should be incremented on every format change. |
73 */ | 73 */ |
74 static const int DATA_VERSION = 8; | 74 static const int DATA_VERSION = 9; |
75 | 75 |
76 /** | 76 /** |
77 * The name of the driver, e.g. the name of the folder. | 77 * The name of the driver, e.g. the name of the folder. |
78 */ | 78 */ |
79 String name; | 79 String name; |
80 | 80 |
81 /** | 81 /** |
82 * The scheduler that schedules analysis work in this, and possibly other | 82 * The scheduler that schedules analysis work in this, and possibly other |
83 * analysis drivers. | 83 * analysis drivers. |
84 */ | 84 */ |
(...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1299 } | 1299 } |
1300 | 1300 |
1301 /** | 1301 /** |
1302 * TODO(scheglov) document | 1302 * TODO(scheglov) document |
1303 */ | 1303 */ |
1304 class _LibraryContext { | 1304 class _LibraryContext { |
1305 final FileState file; | 1305 final FileState file; |
1306 final SummaryDataStore store; | 1306 final SummaryDataStore store; |
1307 _LibraryContext(this.file, this.store); | 1307 _LibraryContext(this.file, this.store); |
1308 } | 1308 } |
OLD | NEW |