| 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 Feature, 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 CoreClasses, CoreTypes; | 22 import '../core_types.dart' show CoreClasses, CoreTypes; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 39 import '../options.dart'; | 39 import '../options.dart'; |
| 40 import '../tokens/token.dart' | 40 import '../tokens/token.dart' |
| 41 show | 41 show |
| 42 isBinaryOperator, | 42 isBinaryOperator, |
| 43 isMinusOperator, | 43 isMinusOperator, |
| 44 isTernaryOperator, | 44 isTernaryOperator, |
| 45 isUnaryOperator, | 45 isUnaryOperator, |
| 46 isUserDefinableOperator; | 46 isUserDefinableOperator; |
| 47 import '../tree/tree.dart'; | 47 import '../tree/tree.dart'; |
| 48 import '../universe/call_structure.dart' show CallStructure; | 48 import '../universe/call_structure.dart' show CallStructure; |
| 49 import '../universe/feature.dart' show Feature; |
| 49 import '../universe/use.dart' show StaticUse, TypeUse; | 50 import '../universe/use.dart' show StaticUse, TypeUse; |
| 50 import '../universe/world_impact.dart' show WorldImpact; | 51 import '../universe/world_impact.dart' show WorldImpact; |
| 51 import '../util/util.dart' show Link, Setlet; | 52 import '../util/util.dart' show Link, Setlet; |
| 52 import '../world.dart'; | 53 import '../world.dart'; |
| 53 import 'class_hierarchy.dart'; | 54 import 'class_hierarchy.dart'; |
| 54 import 'class_members.dart' show MembersCreator; | 55 import 'class_members.dart' show MembersCreator; |
| 55 import 'constructors.dart'; | 56 import 'constructors.dart'; |
| 56 import 'members.dart'; | 57 import 'members.dart'; |
| 57 import 'registry.dart'; | 58 import 'registry.dart'; |
| 58 import 'resolution_result.dart'; | 59 import 'resolution_result.dart'; |
| (...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1121 TreeElements get treeElements { | 1122 TreeElements get treeElements { |
| 1122 assert(invariant(this, _treeElements != null, | 1123 assert(invariant(this, _treeElements != null, |
| 1123 message: "TreeElements have not been computed for $this.")); | 1124 message: "TreeElements have not been computed for $this.")); |
| 1124 return _treeElements; | 1125 return _treeElements; |
| 1125 } | 1126 } |
| 1126 | 1127 |
| 1127 void reuseElement() { | 1128 void reuseElement() { |
| 1128 _treeElements = null; | 1129 _treeElements = null; |
| 1129 } | 1130 } |
| 1130 } | 1131 } |
| OLD | NEW |