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

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

Issue 1286993004: Split resolution into several libraries. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 closureToClassMapper; 5 library closureToClassMapper;
6 6
7 import 'common/tasks.dart' show 7 import 'common/tasks.dart' show
8 CompilerTask; 8 CompilerTask;
9 import 'compiler.dart' show 9 import 'compiler.dart' show
10 Compiler; 10 Compiler;
11 import 'constants/expressions.dart'; 11 import 'constants/expressions.dart';
12 import 'dart_types.dart'; 12 import 'dart_types.dart';
13 import 'diagnostics/diagnostic_listener.dart'; 13 import 'diagnostics/diagnostic_listener.dart';
14 import 'diagnostics/spannable.dart' show 14 import 'diagnostics/spannable.dart' show
15 SpannableAssertionFailure; 15 SpannableAssertionFailure;
16 import 'elements/elements.dart'; 16 import 'elements/elements.dart';
17 import 'elements/modelx.dart' show 17 import 'elements/modelx.dart' show
18 BaseFunctionElementX, 18 BaseFunctionElementX,
19 ClassElementX, 19 ClassElementX,
20 ElementX, 20 ElementX,
21 LocalFunctionElementX; 21 LocalFunctionElementX;
22 import 'elements/visitor.dart' show ElementVisitor; 22 import 'elements/visitor.dart' show ElementVisitor;
23 import 'js_backend/js_backend.dart' show JavaScriptBackend; 23 import 'js_backend/js_backend.dart' show JavaScriptBackend;
24 import 'resolution/resolution.dart' show TreeElements; 24 import 'resolution/tree_elements.dart' show TreeElements;
25 import 'scanner/scannerlib.dart' show Token; 25 import 'scanner/scannerlib.dart' show Token;
26 import 'tree/tree.dart'; 26 import 'tree/tree.dart';
27 import 'util/util.dart'; 27 import 'util/util.dart';
28 import 'universe/universe.dart' show 28 import 'universe/universe.dart' show
29 Universe; 29 Universe;
30 30
31 class ClosureTask extends CompilerTask { 31 class ClosureTask extends CompilerTask {
32 Map<Node, ClosureClassMap> closureMappingCache; 32 Map<Node, ClosureClassMap> closureMappingCache;
33 ClosureTask(Compiler compiler) 33 ClosureTask(Compiler compiler)
34 : closureMappingCache = new Map<Node, ClosureClassMap>(), 34 : closureMappingCache = new Map<Node, ClosureClassMap>(),
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 1119
1120 String get name => typeVariable.name; 1120 String get name => typeVariable.name;
1121 1121
1122 int get hashCode => typeVariable.hashCode; 1122 int get hashCode => typeVariable.hashCode;
1123 1123
1124 bool operator ==(other) { 1124 bool operator ==(other) {
1125 if (other is! TypeVariableLocal) return false; 1125 if (other is! TypeVariableLocal) return false;
1126 return typeVariable == other.typeVariable; 1126 return typeVariable == other.typeVariable;
1127 } 1127 }
1128 } 1128 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/backend_api.dart » ('j') | pkg/compiler/lib/src/resolution/resolution.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698