| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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.serialization.elements; | 5 library dart2js.serialization.elements; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/names.dart'; | |
| 9 import '../constants/constructors.dart'; | 8 import '../constants/constructors.dart'; |
| 10 import '../constants/expressions.dart'; | 9 import '../constants/expressions.dart'; |
| 11 import '../dart_types.dart'; | 10 import '../dart_types.dart'; |
| 12 import '../diagnostics/messages.dart'; | 11 import '../diagnostics/messages.dart'; |
| 13 import '../elements/elements.dart'; | 12 import '../elements/elements.dart'; |
| 14 import '../elements/modelx.dart' | 13 import '../elements/modelx.dart' |
| 15 show | 14 show |
| 16 DeferredLoaderGetterElementX, | 15 DeferredLoaderGetterElementX, |
| 17 ErroneousElementX, | 16 ErroneousElementX, |
| 18 WarnOnUseElementX, | 17 WarnOnUseElementX, |
| (...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 return new WarnOnUseElementX(warning, info, enclosing, element); | 914 return new WarnOnUseElementX(warning, info, enclosing, element); |
| 916 case SerializedElementKind.EXTERNAL_LIBRARY: | 915 case SerializedElementKind.EXTERNAL_LIBRARY: |
| 917 case SerializedElementKind.EXTERNAL_LIBRARY_MEMBER: | 916 case SerializedElementKind.EXTERNAL_LIBRARY_MEMBER: |
| 918 case SerializedElementKind.EXTERNAL_CLASS_MEMBER: | 917 case SerializedElementKind.EXTERNAL_CLASS_MEMBER: |
| 919 case SerializedElementKind.EXTERNAL_CONSTRUCTOR: | 918 case SerializedElementKind.EXTERNAL_CONSTRUCTOR: |
| 920 break; | 919 break; |
| 921 } | 920 } |
| 922 throw new UnsupportedError("Unexpected element kind '${elementKind}."); | 921 throw new UnsupportedError("Unexpected element kind '${elementKind}."); |
| 923 } | 922 } |
| 924 } | 923 } |
| OLD | NEW |