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

Side by Side Diff: pkg/compiler/lib/src/closure.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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.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) 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/names.dart' show 7 import 'common/names.dart' show
8 Identifiers; 8 Identifiers;
9 import 'common/tasks.dart' show 9 import 'common/tasks.dart' show
10 CompilerTask; 10 CompilerTask;
11 import 'compiler.dart' show 11 import 'compiler.dart' show
12 Compiler; 12 Compiler;
13 import 'constants/expressions.dart'; 13 import 'constants/expressions.dart';
14 import 'dart_types.dart'; 14 import 'dart_types.dart';
15 import 'diagnostics/diagnostic_listener.dart'; 15 import 'diagnostics/diagnostic_listener.dart';
16 import 'diagnostics/spannable.dart' show 16 import 'diagnostics/spannable.dart' show
17 SpannableAssertionFailure; 17 SpannableAssertionFailure;
18 import 'elements/elements.dart'; 18 import 'elements/elements.dart';
19 import 'elements/modelx.dart' show 19 import 'elements/modelx.dart' show
20 BaseFunctionElementX, 20 BaseFunctionElementX,
21 ClassElementX, 21 ClassElementX,
22 ElementX, 22 ElementX,
23 LocalFunctionElementX; 23 LocalFunctionElementX;
24 import 'elements/visitor.dart' show ElementVisitor; 24 import 'elements/visitor.dart' show ElementVisitor;
25 import 'js_backend/js_backend.dart' show JavaScriptBackend; 25 import 'js_backend/js_backend.dart' show JavaScriptBackend;
26 import 'resolution/tree_elements.dart' show TreeElements; 26 import 'resolution/tree_elements.dart' show TreeElements;
27 import 'scanner/token.dart' show Token; 27 import 'tokens/token.dart' show Token;
28 import 'tree/tree.dart'; 28 import 'tree/tree.dart';
29 import 'util/util.dart'; 29 import 'util/util.dart';
30 import 'universe/universe.dart' show 30 import 'universe/universe.dart' show
31 Universe; 31 Universe;
32 32
33 class ClosureTask extends CompilerTask { 33 class ClosureTask extends CompilerTask {
34 Map<Node, ClosureClassMap> closureMappingCache; 34 Map<Node, ClosureClassMap> closureMappingCache;
35 ClosureTask(Compiler compiler) 35 ClosureTask(Compiler compiler)
36 : closureMappingCache = new Map<Node, ClosureClassMap>(), 36 : closureMappingCache = new Map<Node, ClosureClassMap>(),
37 super(compiler); 37 super(compiler);
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after
1122 1122
1123 String get name => typeVariable.name; 1123 String get name => typeVariable.name;
1124 1124
1125 int get hashCode => typeVariable.hashCode; 1125 int get hashCode => typeVariable.hashCode;
1126 1126
1127 bool operator ==(other) { 1127 bool operator ==(other) {
1128 if (other is! TypeVariableLocal) return false; 1128 if (other is! TypeVariableLocal) return false;
1129 return typeVariable == other.typeVariable; 1129 return typeVariable == other.typeVariable;
1130 } 1130 }
1131 } 1131 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698