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

Side by Side Diff: pkg/analyzer/lib/src/task/dart.dart

Issue 2342733002: Break up another large file (Closed)
Patch Set: fixed floating comment Created 4 years, 3 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library analyzer.src.task.dart; 5 library analyzer.src.task.dart;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/dart/ast/token.dart'; 10 import 'package:analyzer/dart/ast/token.dart';
11 import 'package:analyzer/dart/ast/visitor.dart'; 11 import 'package:analyzer/dart/ast/visitor.dart';
12 import 'package:analyzer/dart/element/element.dart'; 12 import 'package:analyzer/dart/element/element.dart';
13 import 'package:analyzer/dart/element/type.dart'; 13 import 'package:analyzer/dart/element/type.dart';
14 import 'package:analyzer/error/error.dart';
15 import 'package:analyzer/error/listener.dart';
14 import 'package:analyzer/exception/exception.dart'; 16 import 'package:analyzer/exception/exception.dart';
15 import 'package:analyzer/src/context/cache.dart'; 17 import 'package:analyzer/src/context/cache.dart';
16 import 'package:analyzer/src/context/context.dart'; 18 import 'package:analyzer/src/context/context.dart';
17 import 'package:analyzer/src/dart/ast/utilities.dart'; 19 import 'package:analyzer/src/dart/ast/utilities.dart';
18 import 'package:analyzer/src/dart/element/builder.dart'; 20 import 'package:analyzer/src/dart/element/builder.dart';
19 import 'package:analyzer/src/dart/element/element.dart'; 21 import 'package:analyzer/src/dart/element/element.dart';
20 import 'package:analyzer/src/dart/resolver/inheritance_manager.dart'; 22 import 'package:analyzer/src/dart/resolver/inheritance_manager.dart';
21 import 'package:analyzer/src/dart/scanner/reader.dart'; 23 import 'package:analyzer/src/dart/scanner/reader.dart';
22 import 'package:analyzer/src/dart/scanner/scanner.dart'; 24 import 'package:analyzer/src/dart/scanner/scanner.dart';
25 import 'package:analyzer/src/error/codes.dart';
23 import 'package:analyzer/src/error/pending_error.dart'; 26 import 'package:analyzer/src/error/pending_error.dart';
24 import 'package:analyzer/src/generated/constant.dart'; 27 import 'package:analyzer/src/generated/constant.dart';
25 import 'package:analyzer/src/generated/engine.dart'; 28 import 'package:analyzer/src/generated/engine.dart';
26 import 'package:analyzer/src/generated/error.dart';
27 import 'package:analyzer/src/generated/error_verifier.dart'; 29 import 'package:analyzer/src/generated/error_verifier.dart';
28 import 'package:analyzer/src/generated/incremental_resolver.dart'; 30 import 'package:analyzer/src/generated/incremental_resolver.dart';
29 import 'package:analyzer/src/generated/parser.dart'; 31 import 'package:analyzer/src/generated/parser.dart';
30 import 'package:analyzer/src/generated/resolver.dart'; 32 import 'package:analyzer/src/generated/resolver.dart';
31 import 'package:analyzer/src/generated/sdk.dart'; 33 import 'package:analyzer/src/generated/sdk.dart';
32 import 'package:analyzer/src/generated/source.dart'; 34 import 'package:analyzer/src/generated/source.dart';
33 import 'package:analyzer/src/generated/utilities_dart.dart'; 35 import 'package:analyzer/src/generated/utilities_dart.dart';
34 import 'package:analyzer/src/plugin/engine_plugin.dart'; 36 import 'package:analyzer/src/plugin/engine_plugin.dart';
35 import 'package:analyzer/src/services/lint.dart'; 37 import 'package:analyzer/src/services/lint.dart';
36 import 'package:analyzer/src/task/driver.dart'; 38 import 'package:analyzer/src/task/driver.dart';
(...skipping 6318 matching lines...) Expand 10 before | Expand all | Expand 10 after
6355 6357
6356 @override 6358 @override
6357 bool moveNext() { 6359 bool moveNext() {
6358 if (_newSources.isEmpty) { 6360 if (_newSources.isEmpty) {
6359 return false; 6361 return false;
6360 } 6362 }
6361 currentTarget = _newSources.removeLast(); 6363 currentTarget = _newSources.removeLast();
6362 return true; 6364 return true;
6363 } 6365 }
6364 } 6366 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/pub_summary.dart ('k') | pkg/analyzer/lib/src/task/dart_work_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698