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 Stream; | |
11 | 10 |
12 import 'dart:io' show | 11 import 'dart:io' show |
13 File, | 12 File, |
14 HttpClient, | 13 HttpClient, |
15 HttpClientRequest, | 14 HttpClientRequest, |
16 HttpClientResponse, | 15 HttpClientResponse, |
17 Platform, | 16 Platform, |
18 stdout; | 17 stdout; |
19 | 18 |
20 import 'dart:io' as io; | 19 import 'dart:io' as io; |
21 | 20 |
22 import 'dart:convert' show | 21 import 'dart:convert' show |
23 LineSplitter, | |
24 UTF8; | 22 UTF8; |
25 | 23 |
26 import 'package:dart2js_incremental/dart2js_incremental.dart' show | 24 import 'package:dart2js_incremental/dart2js_incremental.dart' show |
27 reuseCompiler; | 25 reuseCompiler; |
28 | 26 |
29 import 'package:compiler/implementation/source_file_provider.dart' show | 27 import 'package:compiler/implementation/source_file_provider.dart' show |
30 FormattingDiagnosticHandler, | 28 FormattingDiagnosticHandler; |
31 SourceFileProvider; | |
32 | 29 |
33 import 'package:compiler/compiler.dart' as api; | 30 import 'package:compiler/compiler.dart' as api; |
34 | 31 |
35 import 'package:compiler/implementation/dart2jslib.dart' show | 32 import 'package:compiler/implementation/dart2jslib.dart' show |
36 Compiler, | 33 Compiler, |
37 Enqueuer, | 34 Enqueuer, |
38 QueueFilter, | 35 QueueFilter, |
39 WorkItem; | 36 WorkItem; |
40 | 37 |
41 import 'package:compiler/implementation/elements/visitor.dart' show | 38 import 'package:compiler/implementation/elements/visitor.dart' show |
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 buffer.write('\n'); | 706 buffer.write('\n'); |
710 indented.write('}'); | 707 indented.write('}'); |
711 } | 708 } |
712 } | 709 } |
713 | 710 |
714 modelx.ScopeX localScope(modelx.LibraryElementX element) => element.localScope; | 711 modelx.ScopeX localScope(modelx.LibraryElementX element) => element.localScope; |
715 | 712 |
716 modelx.ImportScope importScope(modelx.LibraryElementX element) { | 713 modelx.ImportScope importScope(modelx.LibraryElementX element) { |
717 return element.importScope; | 714 return element.importScope; |
718 } | 715 } |
OLD | NEW |