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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 import 'package:compiler/src/elements/modelx.dart' show | 53 import 'package:compiler/src/elements/modelx.dart' show |
54 DeclarationSite; | 54 DeclarationSite; |
55 | 55 |
56 import 'package:compiler/src/enqueue.dart' show | 56 import 'package:compiler/src/enqueue.dart' show |
57 Enqueuer, | 57 Enqueuer, |
58 QueueFilter; | 58 QueueFilter; |
59 | 59 |
60 import 'package:compiler/src/dart_types.dart' show | 60 import 'package:compiler/src/dart_types.dart' show |
61 DartType; | 61 DartType; |
62 | 62 |
63 import 'package:compiler/src/scanner/scannerlib.dart' show | 63 import 'package:compiler/src/scanner/class_element_parser.dart' show |
| 64 PartialClassElement; |
| 65 |
| 66 import 'package:compiler/src/scanner/listener.dart' show |
| 67 PartialElement; |
| 68 |
| 69 import 'package:compiler/src/scanner/token.dart' show |
64 EOF_TOKEN, | 70 EOF_TOKEN, |
65 IDENTIFIER_TOKEN, | 71 IDENTIFIER_TOKEN, |
66 KEYWORD_TOKEN, | 72 KEYWORD_TOKEN, |
67 PartialClassElement, | |
68 PartialElement, | |
69 Token; | 73 Token; |
70 | 74 |
71 import 'package:compiler/src/js/js.dart' show | 75 import 'package:compiler/src/js/js.dart' show |
72 js; | 76 js; |
73 | 77 |
74 import 'scope_information_visitor.dart' show | 78 import 'scope_information_visitor.dart' show |
75 ScopeInformationVisitor; | 79 ScopeInformationVisitor; |
76 | 80 |
77 /// Enabled by the option --enable-dart-mind. Controls if this program should | 81 /// Enabled by the option --enable-dart-mind. Controls if this program should |
78 /// be querying Dart Mind. | 82 /// be querying Dart Mind. |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 f(work); | 563 f(work); |
560 printWallClock('Processed ${work.element}.'); | 564 printWallClock('Processed ${work.element}.'); |
561 } | 565 } |
562 } | 566 } |
563 | 567 |
564 class PoiTask extends CompilerTask { | 568 class PoiTask extends CompilerTask { |
565 PoiTask(Compiler compiler) : super(compiler); | 569 PoiTask(Compiler compiler) : super(compiler); |
566 | 570 |
567 String get name => 'POI'; | 571 String get name => 'POI'; |
568 } | 572 } |
OLD | NEW |