| 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; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 FieldElementX, | 30 FieldElementX, |
| 31 FunctionElementX, | 31 FunctionElementX, |
| 32 GetterElementX, | 32 GetterElementX, |
| 33 MetadataAnnotationX, | 33 MetadataAnnotationX, |
| 34 MixinApplicationElementX, | 34 MixinApplicationElementX, |
| 35 ParameterMetadataAnnotation, | 35 ParameterMetadataAnnotation, |
| 36 SetterElementX, | 36 SetterElementX, |
| 37 TypedefElementX; | 37 TypedefElementX; |
| 38 import '../enqueue.dart'; | 38 import '../enqueue.dart'; |
| 39 import '../options.dart'; | 39 import '../options.dart'; |
| 40 import '../tokens/token.dart' | 40 import 'package:dart_scanner/dart_scanner.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/feature.dart' show Feature; |
| 50 import '../universe/use.dart' show StaticUse, TypeUse; | 50 import '../universe/use.dart' show StaticUse, TypeUse; |
| (...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1138 TreeElements get treeElements { | 1138 TreeElements get treeElements { |
| 1139 assert(invariant(this, _treeElements != null, | 1139 assert(invariant(this, _treeElements != null, |
| 1140 message: "TreeElements have not been computed for $this.")); | 1140 message: "TreeElements have not been computed for $this.")); |
| 1141 return _treeElements; | 1141 return _treeElements; |
| 1142 } | 1142 } |
| 1143 | 1143 |
| 1144 void reuseElement() { | 1144 void reuseElement() { |
| 1145 _treeElements = null; | 1145 _treeElements = null; |
| 1146 } | 1146 } |
| 1147 } | 1147 } |
| OLD | NEW |