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

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

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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.resolution; 5 library dart2js.resolution;
6 6
7 import 'dart:collection' show Queue; 7 import 'dart:collection' show Queue;
8 8
9 import '../common.dart';
9 import '../common/names.dart' show 10 import '../common/names.dart' show
10 Identifiers; 11 Identifiers;
11 import '../common/resolution.dart' show 12 import '../common/resolution.dart' show
12 Parsing, 13 Parsing,
13 Resolution, 14 Resolution,
14 ResolutionWorldImpact; 15 ResolutionWorldImpact;
15 import '../common/tasks.dart' show 16 import '../common/tasks.dart' show
16 CompilerTask, 17 CompilerTask,
17 DeferredAction; 18 DeferredAction;
18 import '../compiler.dart' show 19 import '../compiler.dart' show
19 Compiler; 20 Compiler;
20 import '../compile_time_constants.dart' show 21 import '../compile_time_constants.dart' show
21 ConstantCompiler; 22 ConstantCompiler;
22 import '../constants/values.dart' show 23 import '../constants/values.dart' show
23 ConstantValue; 24 ConstantValue;
24 import '../dart_types.dart'; 25 import '../dart_types.dart';
25 import '../diagnostics/diagnostic_listener.dart' show
26 DiagnosticMessage,
27 DiagnosticReporter;
28 import '../diagnostics/invariant.dart' show
29 invariant;
30 import '../diagnostics/messages.dart' show
31 MessageKind;
32 import '../diagnostics/spannable.dart' show
33 Spannable;
34 import '../elements/elements.dart'; 26 import '../elements/elements.dart';
35 import '../elements/modelx.dart' show 27 import '../elements/modelx.dart' show
36 BaseClassElementX, 28 BaseClassElementX,
37 BaseFunctionElementX, 29 BaseFunctionElementX,
38 ConstructorElementX, 30 ConstructorElementX,
39 FieldElementX, 31 FieldElementX,
40 FunctionElementX, 32 FunctionElementX,
41 GetterElementX, 33 GetterElementX,
42 MetadataAnnotationX, 34 MetadataAnnotationX,
43 MixinApplicationElementX, 35 MixinApplicationElementX,
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 TreeElements get treeElements { 1068 TreeElements get treeElements {
1077 assert(invariant(this, _treeElements !=null, 1069 assert(invariant(this, _treeElements !=null,
1078 message: "TreeElements have not been computed for $this.")); 1070 message: "TreeElements have not been computed for $this."));
1079 return _treeElements; 1071 return _treeElements;
1080 } 1072 }
1081 1073
1082 void reuseElement() { 1074 void reuseElement() {
1083 _treeElements = null; 1075 _treeElements = null;
1084 } 1076 }
1085 } 1077 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/registry.dart ('k') | pkg/compiler/lib/src/resolution/resolution_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698