| OLD | NEW |
| 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.dart'; |
| 10 import '../common/names.dart' show Identifiers; | 10 import '../common/names.dart' show Identifiers; |
| 11 import '../common/resolution.dart' | 11 import '../common/resolution.dart' |
| 12 show ParsingContext, Resolution, ResolutionImpact, Target; | 12 show ParsingContext, Resolution, ResolutionImpact, Target; |
| 13 import '../common/tasks.dart' show CompilerTask, Measurer; | 13 import '../common/tasks.dart' show CompilerTask, Measurer; |
| 14 import '../compile_time_constants.dart' show ConstantCompiler; | 14 import '../compile_time_constants.dart' show ConstantCompiler; |
| 15 import '../constants/expressions.dart' | 15 import '../constants/expressions.dart' |
| 16 show | 16 show |
| 17 ConstantExpression, | 17 ConstantExpression, |
| 18 ConstantExpressionKind, | 18 ConstantExpressionKind, |
| 19 ConstructedConstantExpression, | 19 ConstructedConstantExpression, |
| 20 ErroneousConstantExpression; | 20 ErroneousConstantExpression; |
| 21 import '../constants/values.dart' show ConstantValue; | 21 import '../constants/values.dart' show ConstantValue; |
| 22 import '../core_types.dart' show CommonElements; | 22 import '../core_types.dart' show CommonElements; |
| 23 import '../dart_types.dart'; | 23 import '../elements/resolution_types.dart'; |
| 24 import '../elements/elements.dart'; | 24 import '../elements/elements.dart'; |
| 25 import '../elements/modelx.dart' | 25 import '../elements/modelx.dart' |
| 26 show | 26 show |
| 27 BaseClassElementX, | 27 BaseClassElementX, |
| 28 BaseFunctionElementX, | 28 BaseFunctionElementX, |
| 29 ConstructorElementX, | 29 ConstructorElementX, |
| 30 FieldElementX, | 30 FieldElementX, |
| 31 FunctionElementX, | 31 FunctionElementX, |
| 32 GetterElementX, | 32 GetterElementX, |
| 33 MetadataAnnotationX, | 33 MetadataAnnotationX, |
| (...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1134 TreeElements get treeElements { | 1134 TreeElements get treeElements { |
| 1135 assert(invariant(this, _treeElements != null, | 1135 assert(invariant(this, _treeElements != null, |
| 1136 message: "TreeElements have not been computed for $this.")); | 1136 message: "TreeElements have not been computed for $this.")); |
| 1137 return _treeElements; | 1137 return _treeElements; |
| 1138 } | 1138 } |
| 1139 | 1139 |
| 1140 void reuseElement() { | 1140 void reuseElement() { |
| 1141 _treeElements = null; | 1141 _treeElements = null; |
| 1142 } | 1142 } |
| 1143 } | 1143 } |
| OLD | NEW |