| 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/names.dart' show | 9 import '../common/names.dart' show |
| 10 Identifiers; | 10 Identifiers; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 FieldElementX, | 32 FieldElementX, |
| 33 FunctionElementX, | 33 FunctionElementX, |
| 34 GetterElementX, | 34 GetterElementX, |
| 35 MetadataAnnotationX, | 35 MetadataAnnotationX, |
| 36 MixinApplicationElementX, | 36 MixinApplicationElementX, |
| 37 ParameterMetadataAnnotation, | 37 ParameterMetadataAnnotation, |
| 38 SetterElementX, | 38 SetterElementX, |
| 39 TypedefElementX; | 39 TypedefElementX; |
| 40 import '../enqueue.dart' show | 40 import '../enqueue.dart' show |
| 41 WorldImpact; | 41 WorldImpact; |
| 42 import '../scanner/token.dart' show | 42 import '../tokens/token.dart' show |
| 43 isBinaryOperator, | 43 isBinaryOperator, |
| 44 isMinusOperator, | 44 isMinusOperator, |
| 45 isTernaryOperator, | 45 isTernaryOperator, |
| 46 isUnaryOperator, | 46 isUnaryOperator, |
| 47 isUserDefinableOperator; | 47 isUserDefinableOperator; |
| 48 import '../tree/tree.dart'; | 48 import '../tree/tree.dart'; |
| 49 import '../util/util.dart' show | 49 import '../util/util.dart' show |
| 50 Link, | 50 Link, |
| 51 LinkBuilder, | 51 LinkBuilder, |
| 52 Setlet; | 52 Setlet; |
| (...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1038 TreeElements get treeElements { | 1038 TreeElements get treeElements { |
| 1039 assert(invariant(this, _treeElements !=null, | 1039 assert(invariant(this, _treeElements !=null, |
| 1040 message: "TreeElements have not been computed for $this.")); | 1040 message: "TreeElements have not been computed for $this.")); |
| 1041 return _treeElements; | 1041 return _treeElements; |
| 1042 } | 1042 } |
| 1043 | 1043 |
| 1044 void reuseElement() { | 1044 void reuseElement() { |
| 1045 _treeElements = null; | 1045 _treeElements = null; |
| 1046 } | 1046 } |
| 1047 } | 1047 } |
| OLD | NEW |