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

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

Issue 2644843006: Use packages dart_parser, dart_scanner, and compiler_util. (Closed)
Patch Set: Created 3 years, 11 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/names.dart' show Identifiers; 7 import 'common/names.dart' show Identifiers;
8 import 'common/resolution.dart' show ParsingContext, Resolution; 8 import 'common/resolution.dart' show ParsingContext, Resolution;
9 import 'common/tasks.dart' show CompilerTask; 9 import 'common/tasks.dart' show CompilerTask;
10 import 'common.dart'; 10 import 'common.dart';
11 import 'compiler.dart' show Compiler; 11 import 'compiler.dart' show Compiler;
12 import 'constants/expressions.dart'; 12 import 'constants/expressions.dart';
13 import 'elements/resolution_types.dart'; 13 import 'elements/resolution_types.dart';
14 import 'elements/elements.dart'; 14 import 'elements/elements.dart';
15 import 'elements/modelx.dart' 15 import 'elements/modelx.dart'
16 show BaseFunctionElementX, ClassElementX, ElementX; 16 show BaseFunctionElementX, ClassElementX, ElementX;
17 import 'elements/visitor.dart' show ElementVisitor; 17 import 'elements/visitor.dart' show ElementVisitor;
18 import 'js_backend/js_backend.dart' show JavaScriptBackend; 18 import 'js_backend/js_backend.dart' show JavaScriptBackend;
19 import 'resolution/tree_elements.dart' show TreeElements; 19 import 'resolution/tree_elements.dart' show TreeElements;
20 import 'tokens/token.dart' show Token; 20 import 'package:dart_scanner/dart_scanner.dart' show Token;
21 import 'tree/tree.dart'; 21 import 'tree/tree.dart';
22 import 'util/util.dart'; 22 import 'util/util.dart';
23 import 'world.dart' show ClosedWorldRefiner; 23 import 'world.dart' show ClosedWorldRefiner;
24 24
25 class ClosureTask extends CompilerTask { 25 class ClosureTask extends CompilerTask {
26 Map<Element, ClosureClassMap> _closureMappingCache = 26 Map<Element, ClosureClassMap> _closureMappingCache =
27 <Element, ClosureClassMap>{}; 27 <Element, ClosureClassMap>{};
28 Compiler compiler; 28 Compiler compiler;
29 ClosureTask(Compiler compiler) 29 ClosureTask(Compiler compiler)
30 : compiler = compiler, 30 : compiler = compiler,
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 /// 1215 ///
1216 /// Move the below classes to a JS model eventually. 1216 /// Move the below classes to a JS model eventually.
1217 /// 1217 ///
1218 abstract class JSEntity implements Entity { 1218 abstract class JSEntity implements Entity {
1219 Entity get declaredEntity; 1219 Entity get declaredEntity;
1220 } 1220 }
1221 1221
1222 abstract class PrivatelyNamedJSEntity implements JSEntity { 1222 abstract class PrivatelyNamedJSEntity implements JSEntity {
1223 Entity get rootOfScope; 1223 Entity get rootOfScope;
1224 } 1224 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/resolution.dart » ('j') | pkg/compiler/lib/src/parser/element_listener.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698