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

Side by Side Diff: pkg/compiler/lib/src/compiler.dart

Issue 1313073007: Move parser and token related libraries into their own subfolder. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix unittests and try Created 5 years, 3 months 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 dart2js.compiler_base; 5 library dart2js.compiler_base;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 EventSink, 8 EventSink,
9 Future; 9 Future;
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 JavaScriptBackend; 84 JavaScriptBackend;
85 import 'library_loader.dart' show 85 import 'library_loader.dart' show
86 LibraryLoader, 86 LibraryLoader,
87 LibraryLoaderTask, 87 LibraryLoaderTask,
88 LoadedLibraries; 88 LoadedLibraries;
89 import 'mirrors_used.dart' show 89 import 'mirrors_used.dart' show
90 MirrorUsageAnalyzerTask; 90 MirrorUsageAnalyzerTask;
91 import 'null_compiler_output.dart' show 91 import 'null_compiler_output.dart' show
92 NullCompilerOutput, 92 NullCompilerOutput,
93 NullSink; 93 NullSink;
94 import 'parser/diet_parser_task.dart' show
95 DietParserTask;
96 import 'parser/parser_task.dart' show
97 DietParserTask,
98 ParserTask;
94 import 'patch_parser.dart' show 99 import 'patch_parser.dart' show
95 PatchParserTask; 100 PatchParserTask;
96 import 'resolution/registry.dart' show 101 import 'resolution/registry.dart' show
97 ResolutionRegistry; 102 ResolutionRegistry;
98 import 'resolution/resolution.dart' show 103 import 'resolution/resolution.dart' show
99 ResolverTask; 104 ResolverTask;
100 import 'resolution/tree_elements.dart' show 105 import 'resolution/tree_elements.dart' show
101 TreeElementMapping; 106 TreeElementMapping;
102 import 'scanner/token_map.dart' show
103 TokenMap;
104 import 'scanner/diet_parser_task.dart' show
105 DietParserTask;
106 import 'scanner/scanner_task.dart' show 107 import 'scanner/scanner_task.dart' show
107 ScannerTask; 108 ScannerTask;
108 import 'scanner/parser_task.dart' show
109 DietParserTask,
110 ParserTask;
111 import 'scanner/token.dart' show
112 COMMENT_TOKEN,
113 EOF_TOKEN,
114 StringToken,
115 Token,
116 TokenPair;
117 import 'serialization/task.dart' show 109 import 'serialization/task.dart' show
118 SerializationTask; 110 SerializationTask;
119 import 'script.dart' show 111 import 'script.dart' show
120 Script; 112 Script;
121 import 'ssa/ssa.dart' show 113 import 'ssa/ssa.dart' show
122 HInstruction; 114 HInstruction;
123 import 'tracer.dart' show 115 import 'tracer.dart' show
124 Tracer; 116 Tracer;
117 import 'tokens/token.dart' show
118 COMMENT_TOKEN,
119 EOF_TOKEN,
120 StringToken,
121 Token,
122 TokenPair;
123 import 'tokens/token_map.dart' show
124 TokenMap;
125 import 'tree/tree.dart' show 125 import 'tree/tree.dart' show
126 Node; 126 Node;
127 import 'typechecker.dart' show 127 import 'typechecker.dart' show
128 TypeCheckerTask; 128 TypeCheckerTask;
129 import 'types/types.dart' as ti; 129 import 'types/types.dart' as ti;
130 import 'universe/universe.dart' show 130 import 'universe/universe.dart' show
131 CallStructure, 131 CallStructure,
132 Selector, 132 Selector,
133 Universe; 133 Universe;
134 import 'util/util.dart' show 134 import 'util/util.dart' show
(...skipping 1647 matching lines...) Expand 10 before | Expand all | Expand 10 after
1782 1782
1783 @override 1783 @override
1784 InterfaceType streamType([DartType elementType]) { 1784 InterfaceType streamType([DartType elementType]) {
1785 InterfaceType type = streamClass.computeType(compiler); 1785 InterfaceType type = streamClass.computeType(compiler);
1786 if (elementType == null) { 1786 if (elementType == null) {
1787 return streamClass.rawType; 1787 return streamClass.rawType;
1788 } 1788 }
1789 return type.createInstantiation([elementType]); 1789 return type.createInstantiation([elementType]);
1790 } 1790 }
1791 } 1791 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698