OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 trydart.poi; | 5 library trydart.poi; |
6 | 6 |
7 import 'dart:async' show | 7 import 'dart:async' show |
8 Completer, | 8 Completer, |
9 Future; | 9 Future; |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 LibraryUpdater; | 22 LibraryUpdater; |
23 | 23 |
24 import 'package:compiler/src/source_file_provider.dart' show | 24 import 'package:compiler/src/source_file_provider.dart' show |
25 FormattingDiagnosticHandler; | 25 FormattingDiagnosticHandler; |
26 | 26 |
27 import 'package:compiler/compiler.dart' as api; | 27 import 'package:compiler/compiler.dart' as api; |
28 | 28 |
29 import 'package:compiler/src/dart2jslib.dart' show | 29 import 'package:compiler/src/dart2jslib.dart' show |
30 Compiler, | 30 Compiler, |
31 CompilerTask, | 31 CompilerTask, |
32 QueueFilter, | |
33 WorkItem; | 32 WorkItem; |
34 | 33 |
35 import 'package:compiler/src/elements/visitor.dart' show | 34 import 'package:compiler/src/elements/visitor.dart' show |
36 BaseElementVisitor; | 35 BaseElementVisitor; |
37 | 36 |
38 import 'package:compiler/src/elements/elements.dart' show | 37 import 'package:compiler/src/elements/elements.dart' show |
39 AbstractFieldElement, | 38 AbstractFieldElement, |
40 ClassElement, | 39 ClassElement, |
41 CompilationUnitElement, | 40 CompilationUnitElement, |
42 Element, | 41 Element, |
43 ElementCategory, | 42 ElementCategory, |
44 FunctionElement, | 43 FunctionElement, |
45 LibraryElement, | 44 LibraryElement, |
46 ScopeContainerElement; | 45 ScopeContainerElement; |
47 | 46 |
48 import 'package:compiler/src/elements/modelx.dart' as modelx; | 47 import 'package:compiler/src/elements/modelx.dart' as modelx; |
49 | 48 |
50 import 'package:compiler/src/elements/modelx.dart' show | 49 import 'package:compiler/src/elements/modelx.dart' show |
51 DeclarationSite; | 50 DeclarationSite; |
52 | 51 |
53 import 'package:compiler/src/enqueue.dart' show | 52 import 'package:compiler/src/enqueue.dart' show |
54 Enqueuer; | 53 Enqueuer, |
| 54 QueueFilter; |
55 | 55 |
56 import 'package:compiler/src/dart_types.dart' show | 56 import 'package:compiler/src/dart_types.dart' show |
57 DartType; | 57 DartType; |
58 | 58 |
59 import 'package:compiler/src/scanner/scannerlib.dart' show | 59 import 'package:compiler/src/scanner/scannerlib.dart' show |
60 EOF_TOKEN, | 60 EOF_TOKEN, |
61 IDENTIFIER_TOKEN, | 61 IDENTIFIER_TOKEN, |
62 KEYWORD_TOKEN, | 62 KEYWORD_TOKEN, |
63 PartialClassElement, | 63 PartialClassElement, |
64 PartialElement, | 64 PartialElement, |
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 f(work); | 555 f(work); |
556 printWallClock('Processed ${work.element}.'); | 556 printWallClock('Processed ${work.element}.'); |
557 } | 557 } |
558 } | 558 } |
559 | 559 |
560 class PoiTask extends CompilerTask { | 560 class PoiTask extends CompilerTask { |
561 PoiTask(Compiler compiler) : super(compiler); | 561 PoiTask(Compiler compiler) : super(compiler); |
562 | 562 |
563 String get name => 'POI'; | 563 String get name => 'POI'; |
564 } | 564 } |
OLD | NEW |