Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: site/try/poi/poi.dart

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « site/try/poi/Makefile ('k') | site/try/src/compiler_isolate.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 reuseCompiler; 17 reuseCompiler;
18 18
19 import 'package:dart2js_incremental/library_updater.dart' show 19 import 'package:dart2js_incremental/library_updater.dart' show
20 LibraryUpdater; 20 LibraryUpdater;
21 21
22 import 'package:compiler/implementation/source_file_provider.dart' show 22 import 'package:compiler/src/source_file_provider.dart' show
23 FormattingDiagnosticHandler; 23 FormattingDiagnosticHandler;
24 24
25 import 'package:compiler/compiler.dart' as api; 25 import 'package:compiler/compiler.dart' as api;
26 26
27 import 'package:compiler/implementation/dart2jslib.dart' show 27 import 'package:compiler/src/dart2jslib.dart' show
28 Compiler, 28 Compiler,
29 CompilerTask, 29 CompilerTask,
30 Enqueuer, 30 Enqueuer,
31 QueueFilter, 31 QueueFilter,
32 WorkItem; 32 WorkItem;
33 33
34 import 'package:compiler/implementation/elements/visitor.dart' show 34 import 'package:compiler/src/elements/visitor.dart' show
35 ElementVisitor; 35 ElementVisitor;
36 36
37 import 'package:compiler/implementation/elements/elements.dart' show 37 import 'package:compiler/src/elements/elements.dart' show
38 AbstractFieldElement, 38 AbstractFieldElement,
39 ClassElement, 39 ClassElement,
40 CompilationUnitElement, 40 CompilationUnitElement,
41 Element, 41 Element,
42 ElementCategory, 42 ElementCategory,
43 FunctionElement, 43 FunctionElement,
44 LibraryElement, 44 LibraryElement,
45 ScopeContainerElement; 45 ScopeContainerElement;
46 46
47 import 'package:compiler/implementation/elements/modelx.dart' as modelx; 47 import 'package:compiler/src/elements/modelx.dart' as modelx;
48 48
49 import 'package:compiler/implementation/elements/modelx.dart' show 49 import 'package:compiler/src/elements/modelx.dart' show
50 DeclarationSite; 50 DeclarationSite;
51 51
52 import 'package:compiler/implementation/dart_types.dart' show 52 import 'package:compiler/src/dart_types.dart' show
53 DartType; 53 DartType;
54 54
55 import 'package:compiler/implementation/scanner/scannerlib.dart' show 55 import 'package:compiler/src/scanner/scannerlib.dart' show
56 EOF_TOKEN, 56 EOF_TOKEN,
57 IDENTIFIER_TOKEN, 57 IDENTIFIER_TOKEN,
58 KEYWORD_TOKEN, 58 KEYWORD_TOKEN,
59 PartialClassElement, 59 PartialClassElement,
60 PartialElement, 60 PartialElement,
61 Token; 61 Token;
62 62
63 import 'package:compiler/implementation/js/js.dart' show 63 import 'package:compiler/src/js/js.dart' show
64 js; 64 js;
65 65
66 /// Enabled by the option --enable-dart-mind. Controls if this program should 66 /// Enabled by the option --enable-dart-mind. Controls if this program should
67 /// be querying Dart Mind. 67 /// be querying Dart Mind.
68 bool isDartMindEnabled = false; 68 bool isDartMindEnabled = false;
69 69
70 /// Iterator over lines from standard input (or the argument array). 70 /// Iterator over lines from standard input (or the argument array).
71 Iterator<String> stdin; 71 Iterator<String> stdin;
72 72
73 /// Enabled by the option --simulate-mutation. When true, this program will 73 /// Enabled by the option --simulate-mutation. When true, this program will
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 783
784 modelx.ImportScope importScope(modelx.LibraryElementX element) { 784 modelx.ImportScope importScope(modelx.LibraryElementX element) {
785 return element.importScope; 785 return element.importScope;
786 } 786 }
787 787
788 class PoiTask extends CompilerTask { 788 class PoiTask extends CompilerTask {
789 PoiTask(Compiler compiler) : super(compiler); 789 PoiTask(Compiler compiler) : super(compiler);
790 790
791 String get name => 'POI'; 791 String get name => 'POI';
792 } 792 }
OLDNEW
« no previous file with comments | « site/try/poi/Makefile ('k') | site/try/src/compiler_isolate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698