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

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

Issue 2542673002: Show priority files on the status page. (Closed)
Patch Set: Created 4 years 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 | « pkg/analysis_server/lib/src/status/get_handler2.dart ('k') | 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 * Return the set of files added to analysis using [addFile]. 234 * Return the set of files added to analysis using [addFile].
235 */ 235 */
236 Set<String> get addedFiles => _explicitFiles; 236 Set<String> get addedFiles => _explicitFiles;
237 237
238 /** 238 /**
239 * Return the set of files that are known, i.e. added or used implicitly. 239 * Return the set of files that are known, i.e. added or used implicitly.
240 */ 240 */
241 Set<String> get knownFiles => _fsState.knownFiles; 241 Set<String> get knownFiles => _fsState.knownFiles;
242 242
243 /** 243 /**
244 * Return the list of files that the driver should try to analyze sooner.
245 */
246 List<String> get priorityFiles => _priorityFiles.toList(growable: false);
247
248 /**
244 * Set the list of files that the driver should try to analyze sooner. 249 * Set the list of files that the driver should try to analyze sooner.
245 * 250 *
246 * Every path in the list must be absolute and normalized. 251 * Every path in the list must be absolute and normalized.
247 * 252 *
248 * The driver will produce the results through the [results] stream. The 253 * The driver will produce the results through the [results] stream. The
249 * exact order in which results are produced is not defined, neither 254 * exact order in which results are produced is not defined, neither
250 * between priority files, nor between priority and non-priority files. 255 * between priority files, nor between priority and non-priority files.
251 */ 256 */
252 void set priorityFiles(List<String> priorityPaths) { 257 void set priorityFiles(List<String> priorityPaths) {
253 _priorityFiles.clear(); 258 _priorityFiles.clear();
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 } 1304 }
1300 1305
1301 /** 1306 /**
1302 * TODO(scheglov) document 1307 * TODO(scheglov) document
1303 */ 1308 */
1304 class _LibraryContext { 1309 class _LibraryContext {
1305 final FileState file; 1310 final FileState file;
1306 final SummaryDataStore store; 1311 final SummaryDataStore store;
1307 _LibraryContext(this.file, this.store); 1312 _LibraryContext(this.file, this.store);
1308 } 1313 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/status/get_handler2.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698