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/parser/class_element_parser.dart' show | 63 import 'package:compiler/src/parser/partial_elements.dart' show |
64 PartialClassElement; | 64 PartialClassElement, |
65 | |
66 import 'package:compiler/src/parser/listener.dart' show | |
67 PartialElement; | 65 PartialElement; |
68 | 66 |
69 import 'package:compiler/src/tokens/token.dart' show | 67 import 'package:compiler/src/tokens/token.dart' show |
| 68 Token; |
| 69 |
| 70 import 'package:compiler/src/tokens/token_constants.dart' show |
70 EOF_TOKEN, | 71 EOF_TOKEN, |
71 IDENTIFIER_TOKEN, | 72 IDENTIFIER_TOKEN, |
72 KEYWORD_TOKEN, | 73 KEYWORD_TOKEN; |
73 Token; | |
74 | 74 |
75 import 'package:compiler/src/js/js.dart' show | 75 import 'package:compiler/src/js/js.dart' show |
76 js; | 76 js; |
77 | 77 |
78 import 'scope_information_visitor.dart' show | 78 import 'scope_information_visitor.dart' show |
79 ScopeInformationVisitor; | 79 ScopeInformationVisitor; |
80 | 80 |
81 /// 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 |
82 /// be querying Dart Mind. | 82 /// be querying Dart Mind. |
83 bool isDartMindEnabled = false; | 83 bool isDartMindEnabled = false; |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 f(work); | 563 f(work); |
564 printWallClock('Processed ${work.element}.'); | 564 printWallClock('Processed ${work.element}.'); |
565 } | 565 } |
566 } | 566 } |
567 | 567 |
568 class PoiTask extends CompilerTask { | 568 class PoiTask extends CompilerTask { |
569 PoiTask(Compiler compiler) : super(compiler); | 569 PoiTask(Compiler compiler) : super(compiler); |
570 | 570 |
571 String get name => 'POI'; | 571 String get name => 'POI'; |
572 } | 572 } |
OLD | NEW |