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 |
11 import 'dart:io' as io; | 11 import 'dart:io' as io; |
12 | 12 |
13 import 'dart:convert' show | 13 import 'dart:convert' show |
14 UTF8; | 14 UTF8; |
15 | 15 |
16 import 'package:dart2js_incremental/dart2js_incremental.dart' show | 16 import 'package:dart2js_incremental/dart2js_incremental.dart' show |
17 INCREMENTAL_OPTIONS, | 17 INCREMENTAL_OPTIONS, |
18 reuseCompiler; | 18 reuseCompiler; |
19 | 19 |
20 import 'package:dart2js_incremental/library_updater.dart' show | 20 import 'package:dart2js_incremental/library_updater.dart' show |
21 IncrementalCompilerContext, | 21 IncrementalCompilerContext, |
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/compiler.dart' show |
30 Compiler, | 30 Compiler; |
31 CompilerTask, | 31 |
| 32 import 'package:compiler/src/common/tasks.dart' show |
| 33 CompilerTask; |
| 34 |
| 35 import 'package:compiler/src/common/work.dart' show |
32 WorkItem; | 36 WorkItem; |
33 | 37 |
34 import 'package:compiler/src/elements/visitor.dart' show | 38 import 'package:compiler/src/elements/visitor.dart' show |
35 BaseElementVisitor; | 39 BaseElementVisitor; |
36 | 40 |
37 import 'package:compiler/src/elements/elements.dart' show | 41 import 'package:compiler/src/elements/elements.dart' show |
38 AbstractFieldElement, | 42 AbstractFieldElement, |
39 ClassElement, | 43 ClassElement, |
40 CompilationUnitElement, | 44 CompilationUnitElement, |
41 Element, | 45 Element, |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 f(work); | 559 f(work); |
556 printWallClock('Processed ${work.element}.'); | 560 printWallClock('Processed ${work.element}.'); |
557 } | 561 } |
558 } | 562 } |
559 | 563 |
560 class PoiTask extends CompilerTask { | 564 class PoiTask extends CompilerTask { |
561 PoiTask(Compiler compiler) : super(compiler); | 565 PoiTask(Compiler compiler) : super(compiler); |
562 | 566 |
563 String get name => 'POI'; | 567 String get name => 'POI'; |
564 } | 568 } |
OLD | NEW |