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 Enqueuer, | |
33 QueueFilter, | 32 QueueFilter, |
34 WorkItem; | 33 WorkItem; |
35 | 34 |
36 import 'package:compiler/src/elements/visitor.dart' show | 35 import 'package:compiler/src/elements/visitor.dart' show |
37 BaseElementVisitor; | 36 BaseElementVisitor; |
38 | 37 |
39 import 'package:compiler/src/elements/elements.dart' show | 38 import 'package:compiler/src/elements/elements.dart' show |
40 AbstractFieldElement, | 39 AbstractFieldElement, |
41 ClassElement, | 40 ClassElement, |
42 CompilationUnitElement, | 41 CompilationUnitElement, |
43 Element, | 42 Element, |
44 ElementCategory, | 43 ElementCategory, |
45 FunctionElement, | 44 FunctionElement, |
46 LibraryElement, | 45 LibraryElement, |
47 ScopeContainerElement; | 46 ScopeContainerElement; |
48 | 47 |
49 import 'package:compiler/src/elements/modelx.dart' as modelx; | 48 import 'package:compiler/src/elements/modelx.dart' as modelx; |
50 | 49 |
51 import 'package:compiler/src/elements/modelx.dart' show | 50 import 'package:compiler/src/elements/modelx.dart' show |
52 DeclarationSite; | 51 DeclarationSite; |
53 | 52 |
| 53 import 'package:compiler/src/enqueue.dart' show |
| 54 Enqueuer; |
| 55 |
54 import 'package:compiler/src/dart_types.dart' show | 56 import 'package:compiler/src/dart_types.dart' show |
55 DartType; | 57 DartType; |
56 | 58 |
57 import 'package:compiler/src/scanner/scannerlib.dart' show | 59 import 'package:compiler/src/scanner/scannerlib.dart' show |
58 EOF_TOKEN, | 60 EOF_TOKEN, |
59 IDENTIFIER_TOKEN, | 61 IDENTIFIER_TOKEN, |
60 KEYWORD_TOKEN, | 62 KEYWORD_TOKEN, |
61 PartialClassElement, | 63 PartialClassElement, |
62 PartialElement, | 64 PartialElement, |
63 Token; | 65 Token; |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 f(work); | 555 f(work); |
554 printWallClock('Processed ${work.element}.'); | 556 printWallClock('Processed ${work.element}.'); |
555 } | 557 } |
556 } | 558 } |
557 | 559 |
558 class PoiTask extends CompilerTask { | 560 class PoiTask extends CompilerTask { |
559 PoiTask(Compiler compiler) : super(compiler); | 561 PoiTask(Compiler compiler) : super(compiler); |
560 | 562 |
561 String get name => 'POI'; | 563 String get name => 'POI'; |
562 } | 564 } |
OLD | NEW |